diff options
| author | Andrew Morton <akpm@digeo.com> | 2002-09-29 02:20:34 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-09-29 02:20:34 -0700 |
| commit | db7b0c9fcd4e93c07f16a0bfd449b49210fa523d (patch) | |
| tree | 8667176c948733d10759b854610edcafe3dee5f2 /include/linux/mmzone.h | |
| parent | 1f76929196ad4a0877d0b411deedb75767a3564e (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/linux/mmzone.h')
| -rw-r--r-- | include/linux/mmzone.h | 1 |
1 files changed, 1 insertions, 0 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; |
