diff options
author | Mel Gorman <mgorman@suse.de> | 2012-11-02 11:33:45 +0000 |
---|---|---|
committer | Mel Gorman <mgorman@suse.de> | 2012-12-11 14:42:42 +0000 |
commit | 4daae3b4b9e49b7e0935499a352f1c59d90287d2 (patch) | |
tree | 2ac600b955c89e3b1b2070110a9b7293a4511b19 /mm/mempolicy.c | |
parent | 149c33e1c98f83050870514f380902dc6d617bd5 (diff) | |
download | op-kernel-dev-4daae3b4b9e49b7e0935499a352f1c59d90287d2.zip op-kernel-dev-4daae3b4b9e49b7e0935499a352f1c59d90287d2.tar.gz |
mm: mempolicy: Use _PAGE_NUMA to migrate pages
Note: Based on "mm/mpol: Use special PROT_NONE to migrate pages" but
sufficiently different that the signed-off-bys were dropped
Combine our previous _PAGE_NUMA, mpol_misplaced and migrate_misplaced_page()
pieces into an effective migrate on fault scheme.
Note that (on x86) we rely on PROT_NONE pages being !present and avoid
the TLB flush from try_to_unmap(TTU_MIGRATION). This greatly improves the
page-migration performance.
Based-on-work-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Mel Gorman <mgorman@suse.de>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions