Searched hist:"4983 da07f1e2e8dc81cb9d640fbf35b899cdbdf2" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/ |
H A D | buffer.c | diff 4983da07f1e2e8dc81cb9d640fbf35b899cdbdf2 Tue Mar 14 21:50:19 CST 2006 Christoph Lameter <clameter@engr.sgi.com> [PATCH] page migration: fail if page is in a vma flagged VM_LOCKED
page migration currently simply retries a couple of times if try_to_unmap() fails without inspecting the return code.
However, SWAP_FAIL indicates that the page is in a vma that has the VM_LOCKED flag set (if ignore_refs ==1). We can check for that return code and avoid retrying the migration.
migrate_page_remove_references() now needs to return a reason why the failure occured. So switch migrate_page_remove_references to use -Exx style error messages.
Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
/openbmc/linux/mm/ |
H A D | vmscan.c | diff 4983da07f1e2e8dc81cb9d640fbf35b899cdbdf2 Tue Mar 14 21:50:19 CST 2006 Christoph Lameter <clameter@engr.sgi.com> [PATCH] page migration: fail if page is in a vma flagged VM_LOCKED
page migration currently simply retries a couple of times if try_to_unmap() fails without inspecting the return code.
However, SWAP_FAIL indicates that the page is in a vma that has the VM_LOCKED flag set (if ignore_refs ==1). We can check for that return code and avoid retrying the migration.
migrate_page_remove_references() now needs to return a reason why the failure occured. So switch migrate_page_remove_references to use -Exx style error messages.
Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|