Revision 9940fa80ce0e546646b057958960c5c6fd2bbbb2 authored by Julia Lawall on 08 June 2010, 16:58:11 UTC, committed by Martin Schwidefsky on 08 June 2010, 16:58:23 UTC
The containing function is called from several places. At one of them, in the function __sigp_stop, the spin lock &fi->lock is held. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @gfp exists@ identifier fn; position p; @@ fn(...) { ... when != spin_unlock when any GFP_KERNEL@p ... when any } @locked@ identifier gfp.fn; @@ spin_lock(...) ... when != spin_unlock fn(...) @depends on locked@ position gfp.p; @@ - GFP_KERNEL@p + GFP_ATOMIC // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
1 parent 3164a3c
File | Mode | Size |
---|---|---|
ccids | ||
Kconfig | -rw-r--r-- | 1.6 KB |
Makefile | -rw-r--r-- | 828 bytes |
ackvec.c | -rw-r--r-- | 12.7 KB |
ackvec.h | -rw-r--r-- | 3.3 KB |
ccid.c | -rw-r--r-- | 5.2 KB |
ccid.h | -rw-r--r-- | 7.6 KB |
dccp.h | -rw-r--r-- | 15.3 KB |
diag.c | -rw-r--r-- | 1.9 KB |
feat.c | -rw-r--r-- | 41.4 KB |
feat.h | -rw-r--r-- | 4.7 KB |
input.c | -rw-r--r-- | 21.7 KB |
ipv4.c | -rw-r--r-- | 27.8 KB |
ipv6.c | -rw-r--r-- | 32.5 KB |
ipv6.h | -rw-r--r-- | 822 bytes |
minisocks.c | -rw-r--r-- | 8.2 KB |
options.c | -rw-r--r-- | 15.1 KB |
output.c | -rw-r--r-- | 18.4 KB |
probe.c | -rw-r--r-- | 4.8 KB |
proto.c | -rw-r--r-- | 27.7 KB |
sysctl.c | -rw-r--r-- | 2.8 KB |
timer.c | -rw-r--r-- | 7.4 KB |
Computing file changes ...