summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorChristoph Lameter2006-06-23 11:03:04 +0200
committerLinus Torvalds2006-06-23 16:42:45 +0200
commit4da5eda0dca9730f59f391230304526ab4bffec7 (patch)
tree948701e336ec4ca2742b69f7197b89aa61df27d2 /mm/slab.c
parent[PATCH] zone handle unaligned zone boundaries (diff)
downloadkernel-qcow2-linux-4da5eda0dca9730f59f391230304526ab4bffec7.tar.gz
kernel-qcow2-linux-4da5eda0dca9730f59f391230304526ab4bffec7.tar.xz
kernel-qcow2-linux-4da5eda0dca9730f59f391230304526ab4bffec7.zip
[PATCH] Page Migration: Make do_swap_page redo the fault
It is better to redo the complete fault if do_swap_page() finds that the page is not in PageSwapCache() because the page migration code may have replaced the swap pte already with a pte pointing to valid memory. do_swap_page() may interpret an invalid swap entry without this patch because we do not reload the pte if we are looping back. The page migration code may already have reused the swap entry referenced by our local swp_entry. Signed-off-by: Christoph Lameter <clameter@sgi.com> Cc: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions