diff options
author | Balbir Singh <balbir@linux.vnet.ibm.com> | 2008-02-07 00:14:18 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 08:42:20 -0800 |
commit | ac44d354d5c9ced49b1165d6496f134501134219 (patch) | |
tree | be054e8e2d37739a33d94cc78db3fd65e73c3aff /mm/mmap.c | |
parent | 217bc3194d57150549e9234e6ddfee30de28cc78 (diff) | |
download | kernel_samsung_smdk4412-ac44d354d5c9ced49b1165d6496f134501134219.tar.gz kernel_samsung_smdk4412-ac44d354d5c9ced49b1165d6496f134501134219.tar.bz2 kernel_samsung_smdk4412-ac44d354d5c9ced49b1165d6496f134501134219.zip |
Memory controller use rcu_read_lock() in mem_cgroup_cache_charge()
Hugh Dickins noticed that we were using rcu_dereference() without
rcu_read_lock() in the cache charging routine. The patch below fixes
this problem
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions