aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@engr.sgi.com>2006-01-08 04:00:49 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-08 23:12:41 -0500
commit7cbe34cf86c673503b177ff47cfa2c7030dabb50 (patch)
tree9b39d7e8f11fed68242d1cb1f0c85dfcf96e3250 /include
parent49d2e9cc4544369635cd6f4ef6d5bb0f757079a7 (diff)
[PATCH] Swap Migration V5: Add CONFIG_MIGRATION for page migration support
Include page migration if the system is NUMA or having a memory model that allows distinct areas of memory (SPARSEMEM, DISCONTIGMEM). And: - Only include lru_add_drain_per_cpu if building for an SMP system. 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 'include')
-rw-r--r--include/linux/swap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h
index 893096e67bdb..117add066f00 100644
--- a/include/linux/swap.h
+++ b/include/linux/swap.h
@@ -178,7 +178,9 @@ extern int vm_swappiness;
178extern int isolate_lru_page(struct page *p); 178extern int isolate_lru_page(struct page *p);
179extern int putback_lru_pages(struct list_head *l); 179extern int putback_lru_pages(struct list_head *l);
180 180
181#ifdef CONFIG_MIGRATION
181extern int migrate_pages(struct list_head *l, struct list_head *t); 182extern int migrate_pages(struct list_head *l, struct list_head *t);
183#endif
182 184
183#ifdef CONFIG_MMU 185#ifdef CONFIG_MMU
184/* linux/mm/shmem.c */ 186/* linux/mm/shmem.c */