From: Zeng Zhaoming Date: Thu, 2 Dec 2010 22:31:13 +0000 (-0800) Subject: mm/mempolicy.c: add rcu read lock to protect pid structure X-Git-Tag: v2.6.37-rc5~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55cfaa3cbdd29c4919ecb5fb8965c310f357e48c;p=pandora-kernel.git mm/mempolicy.c: add rcu read lock to protect pid structure find_task_by_vpid() should be protected by rcu_read_lock(), to prevent free_pid() reclaiming pid. Signed-off-by: Zeng Zhaoming Cc: "Paul E. McKenney" Cc: KOSAKI Motohiro Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed