diff options
author | Zeng Zhaoming <zengzm.kernel@gmail.com> | 2010-12-02 23:31:13 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-12-02 23:51:14 +0100 |
commit | 55cfaa3cbdd29c4919ecb5fb8965c310f357e48c (patch) | |
tree | 914fad20ce59c42bd3781820c8fb73286581a5ae /mm/compaction.c | |
parent | mm/hugetlb.c: avoid double unlock_page() in hugetlb_fault() (diff) | |
download | linux-55cfaa3cbdd29c4919ecb5fb8965c310f357e48c.tar.xz linux-55cfaa3cbdd29c4919ecb5fb8965c310f357e48c.zip |
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 <zengzm.kernel@gmail.com>
Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions