From: Balbir Singh Date: Thu, 7 Feb 2008 08:14:18 +0000 (-0800) Subject: Memory controller use rcu_read_lock() in mem_cgroup_cache_charge() X-Git-Tag: v2.6.25-rc1~452 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac44d354d5c9ced49b1165d6496f134501134219;p=pandora-kernel.git 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 Acked-by: KAMEZAWA Hiroyuki Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed