summaryrefslogtreecommitdiffstats
path: root/mm/mmu_notifier.c
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2008-10-18 20:28:07 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-20 08:52:38 -0700
commit47c59803becb55b72b26cdab3838d621a15badc8 (patch)
tree63711f3e41f46288e2fa18db0b4ed734e9b1f668 /mm/mmu_notifier.c
parentc012a54ae0b2ee2c73499f54596e0f5257288fec (diff)
downloadlinux-47c59803becb55b72b26cdab3838d621a15badc8.tar.gz
linux-47c59803becb55b72b26cdab3838d621a15badc8.tar.bz2
linux-47c59803becb55b72b26cdab3838d621a15badc8.zip
devcgroup: remove spin_lock()
Since we introduced rcu for read side, spin_lock is used only for update. But we always hold cgroup_lock() when update, so spin_lock() is not need. Additional cleanup: 1) include linux/rcupdate.h explicitly 2) remove unused variable cur_devcgroup in devcgroup_update_access() Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Acked-by: "Serge E. Hallyn" <serue@us.ibm.com> Cc: Paul Menage <menage@google.com> Cc: James Morris <jmorris@namei.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mmu_notifier.c')
0 files changed, 0 insertions, 0 deletions