diff options
| author | Rusty Russell <rusty@rustcorp.com.au> | 2004-03-18 16:04:03 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-03-18 16:04:03 -0800 |
| commit | 9bd3badff4e7b97209961875014053d6a292af99 (patch) | |
| tree | 80bcbbbb85308fc23474f484ca8b133045f71577 /include/linux | |
| parent | 6bcaa29dc02edc04b6f2baa4c85ace1c2c69871a (diff) | |
[PATCH] Hotplug CPUs: Kswapd Changes
Keep track of kswapds: it's OK that they get moved off a node when the
last CPU goes down, but when a CPU comes back, we should try to move
the kswapd back onto its node.
Diffstat (limited to 'include/linux')
| -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 7056b88aad40..789d72e7773b 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -214,6 +214,7 @@ typedef struct pglist_data { int node_id; struct pglist_data *pgdat_next; wait_queue_head_t kswapd_wait; + struct task_struct *kswapd; } pg_data_t; #define node_present_pages(nid) (NODE_DATA(nid)->node_present_pages) |
