diff options
author | KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> | 2011-01-13 15:46:14 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 17:32:36 -0800 |
commit | 1e50df39f6e2c3a4a3394df62baa8a213df16c54 (patch) | |
tree | d437981aec4fc5cf84178f7afcca83f0ef40aea1 /mm/vmalloc.c | |
parent | 53a7706d5ed8f1a53ba062b318773160cc476dde (diff) | |
download | lwn-1e50df39f6e2c3a4a3394df62baa8a213df16c54.tar.gz lwn-1e50df39f6e2c3a4a3394df62baa8a213df16c54.zip |
mempolicy: remove tasklist_lock from migrate_pages
Today, tasklist_lock in migrate_pages doesn't protect anything.
rcu_read_lock() provide enough protection from pid hash walk.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reported-by: Peter Zijlstra <peterz@infradead.org>
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/vmalloc.c')
0 files changed, 0 insertions, 0 deletions