diff options
author | Christoph Lameter <clameter@engr.sgi.com> | 2006-03-15 04:50:19 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-15 06:43:02 +0100 |
commit | 4983da07f1e2e8dc81cb9d640fbf35b899cdbdf2 (patch) | |
tree | 9c238114f029d1d22bc55f47e8d95ef7335c540d /Documentation/vm | |
parent | [PATCH] "s390: multiple subchannel sets support" fix (diff) | |
download | linux-4983da07f1e2e8dc81cb9d640fbf35b899cdbdf2.tar.xz linux-4983da07f1e2e8dc81cb9d640fbf35b899cdbdf2.zip |
[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>
Diffstat (limited to 'Documentation/vm')
0 files changed, 0 insertions, 0 deletions