]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Drop page table lock before calling migrate_page_add()
authorChristoph Lameter <clameter@engr.sgi.com>
Sun, 8 Jan 2006 09:01:02 +0000 (01:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:12:44 +0000 (20:12 -0800)
commit58bd04721eda58d9115795f8b2d35859c9185728
tree7b1274279448e4fde20489b7572455ef93bc4c3d
parent16dcdfd3a86432f992b02c94d3015ce8ec2b34bc
[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