diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-06-23 11:03:37 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 16:42:50 +0200 |
commit | 6c5240ae7f48c83fcaa8e24fa63e7eb09aba5651 (patch) | |
tree | fede2324f4348701e60758d7f894aae4b09cdc9a /mm/Kconfig | |
parent | [PATCH] Swapless page migration: rip out swap based logic (diff) | |
download | linux-6c5240ae7f48c83fcaa8e24fa63e7eb09aba5651.tar.xz linux-6c5240ae7f48c83fcaa8e24fa63e7eb09aba5651.zip |
[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/Kconfig')
-rw-r--r-- | mm/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/Kconfig b/mm/Kconfig index 332f5c29b53a..66e65ab39426 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -138,8 +138,8 @@ config SPLIT_PTLOCK_CPUS # config MIGRATION bool "Page migration" - def_bool y if NUMA - depends on SWAP && NUMA + def_bool y + depends on NUMA help Allows the migration of the physical location of pages of processes while the virtual addresses are not changed. This is useful for |