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 |
---|---|---|
netfilter | ||
Kconfig | -rw-r--r-- | 1.6 KB |
Makefile | -rw-r--r-- | 270 bytes |
README | -rw-r--r-- | 299 bytes |
TODO | -rw-r--r-- | 1.2 KB |
af_decnet.c | -rw-r--r-- | 53.7 KB |
dn_dev.c | -rw-r--r-- | 31.4 KB |
dn_fib.c | -rw-r--r-- | 18.0 KB |
dn_neigh.c | -rw-r--r-- | 15.6 KB |
dn_nsp_in.c | -rw-r--r-- | 21.1 KB |
dn_nsp_out.c | -rw-r--r-- | 17.5 KB |
dn_route.c | -rw-r--r-- | 43.9 KB |
dn_rules.c | -rw-r--r-- | 5.3 KB |
dn_table.c | -rw-r--r-- | 20.0 KB |
dn_timer.c | -rw-r--r-- | 3.1 KB |
sysctl_net_decnet.c | -rw-r--r-- | 7.2 KB |
Computing file changes ...