From db7b0c9fcd4e93c07f16a0bfd449b49210fa523d Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 29 Sep 2002 02:20:34 -0700 Subject: [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. --- include/linux/mmzone.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux/mmzone.h') 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; -- cgit v1.2.3