summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2002-09-29 02:20:34 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-09-29 02:20:34 -0700
commitdb7b0c9fcd4e93c07f16a0bfd449b49210fa523d (patch)
tree8667176c948733d10759b854610edcafe3dee5f2 /include
parent1f76929196ad4a0877d0b411deedb75767a3564e (diff)
[PATCH] per-node kswapd instances
Patch from David Hansen. Start one kswapd instance for each NUMA node. That kswapd instance only works against the pages which are local to that node. We need to bind that kswapd to that node's CPU set, but the infrastructure for this is not yet in place.
Diffstat (limited to 'include')
-rw-r--r--include/linux/mmzone.h1
-rw-r--r--include/linux/swap.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index 0b14f37ca016..fc439380cb0e 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -168,6 +168,7 @@ typedef struct pglist_data {
unsigned long node_size;
int node_id;
struct pglist_data *pgdat_next;
+ wait_queue_head_t kswapd_wait;
} pg_data_t;
extern int numnodes;
diff --git a/include/linux/swap.h b/include/linux/swap.h
index 8844b1408788..f4acbd1e9b46 100644
--- a/include/linux/swap.h
+++ b/include/linux/swap.h
@@ -162,7 +162,6 @@ extern void FASTCALL(activate_page(struct page *));
extern void swap_setup(void);
/* linux/mm/vmscan.c */
-extern wait_queue_head_t kswapd_wait;
extern int try_to_free_pages(struct zone *, unsigned int, unsigned int);
/* linux/mm/page_io.c */