]> git.neil.brown.name Git - history.git/commit
[PATCH] procfs: remove some unneeded lock_kernel()s
authorAndrew Morton <akpm@osdl.org>
Wed, 2 Jul 2003 15:48:18 +0000 (08:48 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 2 Jul 2003 15:48:18 +0000 (08:48 -0700)
commit10be509c3c9ea14a7de80252ca1b8b1c43c821fb
tree8e7d8ed174c62deddf57b0be882b73e9eb5bb8ce
parent1fe128d23d3d492e20cc693fcd9eff05a4071d45
[PATCH] procfs: remove some unneeded lock_kernel()s

From: William Lee Irwin III <wli@holomorphy.com>

Remove spurious BKL acquisitions in /proc/.  The BKL is not required to
access nr_threads for reporting, and get_locks_status() takes it
internally, wrapping all operations with it.
fs/proc/proc_misc.c
fs/proc/root.c