aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2008-03-14 18:35:22 +0000
committerMatthew Wilcox <[email protected]>2008-04-17 14:42:54 +0000
commitb17170b2fac96705db3188f093f89e8e838418e4 (patch)
tree3264d8a297cff20338b606559274c36fbf663f04 /net/unix/sysctl_net_unix.c
parentAdd down_timeout and change ACPI to use it (diff)
downloadkernel-b17170b2fac96705db3188f093f89e8e838418e4.tar.gz
kernel-b17170b2fac96705db3188f093f89e8e838418e4.zip
Simplify semaphore implementation
By removing the negative values of 'count' and relying on the wait_list to indicate whether we have any waiters, we can simplify the implementation by removing the protection against an unlikely race condition. Thanks to David Howells for his suggestions. Signed-off-by: Matthew Wilcox <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions