diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-06-23 02:03:37 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 07:42:50 -0700 |
commit | 6c5240ae7f48c83fcaa8e24fa63e7eb09aba5651 (patch) | |
tree | fede2324f4348701e60758d7f894aae4b09cdc9a /mm/rmap.c | |
parent | d75a0fcda2cfc71b50e16dc89e0c32c57d427e85 (diff) | |
download | kernel_samsung_smdk4412-6c5240ae7f48c83fcaa8e24fa63e7eb09aba5651.zip kernel_samsung_smdk4412-6c5240ae7f48c83fcaa8e24fa63e7eb09aba5651.tar.gz kernel_samsung_smdk4412-6c5240ae7f48c83fcaa8e24fa63e7eb09aba5651.tar.bz2 |
[PATCH] Swapless page migration: modify core logic
Use the migration entries for page migration
This modifies the migration code to use the new migration entries. It now
becomes possible to migrate anonymous pages without having to add a swap
entry.
We add a couple of new functions to replace migration entries with the proper
ptes.
We cannot take the tree_lock for migrating anonymous pages anymore. However,
we know that we hold the only remaining reference to the page when the page
count reaches 1.
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 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions