[PATCH] Drop page table lock before calling migrate_page_add()
commit132beacf9785d2e6e8aecb59aa078f3ca5668fa6
authorChristoph Lameter <clameter@engr.sgi.com>
Sun, 8 Jan 2006 09:01:02 +0000 (8 01:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:12:44 +0000 (8 20:12 -0800)
tree7b1274279448e4fde20489b7572455ef93bc4c3d
parent1a75a6c825c17249ca49f050a872a04ce0997ce3
[PATCH] Drop page table lock before calling migrate_page_add()

migrate_page_add cannot be called with a spinlock held (calls
isolate_lru_page which calles schedule_on_each_cpu).  Drop ptl lock in
check_pte_range before calling migrate_page_add().

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/mempolicy.c