]> git.baikalelectronics.ru Git - kernel.git/commit
[AF_UNIX]: Make unix_tot_inflight counter non-atomic
authorPavel Emelyanov <xemul@openvz.org>
Sun, 11 Nov 2007 06:06:01 +0000 (22:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Nov 2007 06:06:01 +0000 (22:06 -0800)
commit54856c48a369caf5dab2b87918cce7b66fe2a58f
tree957551b7016caedcb6f85ec733e6a14d6707096f
parent2cf0b403d7db91a4b5ada03d156686600705021b
[AF_UNIX]: Make unix_tot_inflight counter non-atomic

This counter is _always_ modified under the unix_gc_lock spinlock,
so its atomicity can be provided w/o additional efforts.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/af_unix.h
net/unix/af_unix.c
net/unix/garbage.c