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 |
---|---|---|
auth_gss | ||
xprtrdma | ||
Kconfig | -rw-r--r-- | 1.5 KB |
Makefile | -rw-r--r-- | 541 bytes |
addr.c | -rw-r--r-- | 8.7 KB |
auth.c | -rw-r--r-- | 13.8 KB |
auth_generic.c | -rw-r--r-- | 4.7 KB |
auth_null.c | -rw-r--r-- | 2.5 KB |
auth_unix.c | -rw-r--r-- | 5.5 KB |
backchannel_rqst.c | -rw-r--r-- | 8.8 KB |
bc_svc.c | -rw-r--r-- | 2.0 KB |
cache.c | -rw-r--r-- | 39.6 KB |
clnt.c | -rw-r--r-- | 42.3 KB |
rpc_pipe.c | -rw-r--r-- | 24.7 KB |
rpcb_clnt.c | -rw-r--r-- | 27.7 KB |
sched.c | -rw-r--r-- | 25.8 KB |
socklib.c | -rw-r--r-- | 4.5 KB |
stats.c | -rw-r--r-- | 6.6 KB |
sunrpc.h | -rw-r--r-- | 1.7 KB |
sunrpc_syms.c | -rw-r--r-- | 1.6 KB |
svc.c | -rw-r--r-- | 30.6 KB |
svc_xprt.c | -rw-r--r-- | 32.7 KB |
svcauth.c | -rw-r--r-- | 3.8 KB |
svcauth_unix.c | -rw-r--r-- | 20.3 KB |
svcsock.c | -rw-r--r-- | 40.1 KB |
sysctl.c | -rw-r--r-- | 3.5 KB |
timer.c | -rw-r--r-- | 2.9 KB |
xdr.c | -rw-r--r-- | 27.1 KB |
xprt.c | -rw-r--r-- | 30.4 KB |
xprtsock.c | -rw-r--r-- | 67.4 KB |
Computing file changes ...