diff options
author | Con Kolivas <kernel@kolivas.org> | 2005-09-13 04:25:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-13 11:22:28 -0400 |
commit | 8d0986e289a4b018fec87fcc49538945fb401f37 (patch) | |
tree | f81d6343e3722605eb662b85f0ad3ba25b71919a /mm/vmscan.c | |
parent | 7979aca38b78ffe6a65ef309f26721c527104eaf (diff) |
[PATCH] vm: kswapd cleanup: use pgdat
Use the pgdat pointer we've already defined in wakeup_kswapd
Signed-off-by: Con Kolivas <kernel@kolivas.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r-- | mm/vmscan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index a740778f688d..0ea71e887bb6 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -1258,9 +1258,9 @@ void wakeup_kswapd(struct zone *zone, int order) | |||
1258 | pgdat->kswapd_max_order = order; | 1258 | pgdat->kswapd_max_order = order; |
1259 | if (!cpuset_zone_allowed(zone, __GFP_HARDWALL)) | 1259 | if (!cpuset_zone_allowed(zone, __GFP_HARDWALL)) |
1260 | return; | 1260 | return; |
1261 | if (!waitqueue_active(&zone->zone_pgdat->kswapd_wait)) | 1261 | if (!waitqueue_active(&pgdat->kswapd_wait)) |
1262 | return; | 1262 | return; |
1263 | wake_up_interruptible(&zone->zone_pgdat->kswapd_wait); | 1263 | wake_up_interruptible(&pgdat->kswapd_wait); |
1264 | } | 1264 | } |
1265 | 1265 | ||
1266 | #ifdef CONFIG_PM | 1266 | #ifdef CONFIG_PM |