aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorMichel Lespinasse <[email protected]>2010-07-20 15:19:45 -0700
committerH. Peter Anvin <[email protected]>2010-07-20 17:41:00 -0700
commita751bd858b16dce57f3b6b85ba07946df1bd7be4 (patch)
tree1bd42b7a014003bbd733056dafec27078fed9e7e /net/unix/sysctl_net_unix.c
parente0959371b4aaddb9b986019d5cfef93f9801d0ff (diff)
x86, rwsem: Stay on fast path when count > 0 in __up_write()
When count > 0 there is no need to take the call_rwsem_wake path. If we did take that path, it would just return without doing anything due to the active count not being zero. Signed-off-by: Michel Lespinasse <[email protected]> LKML-Reference: <[email protected]> Acked-by: David Howells <[email protected]> Cc: Mike Waychison <[email protected]> Cc: Suleiman Souhlal <[email protected]> Cc: Ying Han <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions