• Christoph Lameter's avatar
    [PATCH] page migration reorg · b20a3503
    Christoph Lameter authored
    Centralize the page migration functions in anticipation of additional
    tinkering.  Creates a new file mm/migrate.c
    1. Extract buffer_migrate_page() from fs/buffer.c
    2. Extract central migration code from vmscan.c
    3. Extract some components from mempolicy.c
    4. Export pageout() and remove_from_swap() from vmscan.c
    5. Make it possible to configure NUMA systems without page migration
       and non-NUMA systems with page migration.
    I had to so some #ifdeffing in mempolicy.c that may need a cleanup.
    Signed-off-by: default avatarChristoph Lameter <clameter@sgi.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
migrate.c 14.8 KB