summaryrefslogtreecommitdiffstats
path: root/fs/proc/consoles.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2011-01-13 02:00:35 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-13 17:03:17 +0100
commit3740a20c4fe8697cb604a7d51395d23472b1768f (patch)
treedac4b07e654742bc60fad44c55327d8b3f86e4b3 /fs/proc/consoles.c
parentkpagecount: add slab page checking because _mapcount is in a union (diff)
downloadlinux-3740a20c4fe8697cb604a7d51395d23472b1768f.tar.xz
linux-3740a20c4fe8697cb604a7d51395d23472b1768f.zip
proc: less LOCK/UNLOCK in remove_proc_entry()
For the common case where a proc entry is being removed and nobody is in the process of using it, save a LOCK/UNLOCK pair. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/consoles.c')
0 files changed, 0 insertions, 0 deletions