projects
/
linux-flexiantxendom0-natty.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: vmscan: evaluate the watermarks against the correct classzone
[linux-flexiantxendom0-natty.git]
/
mm
/
vmscan.c
diff --git
a/mm/vmscan.c
b/mm/vmscan.c
index
7f8e890
..
136dc5e
100644
(file)
--- a/
mm/vmscan.c
+++ b/
mm/vmscan.c
@@
-2279,7
+2279,7
@@
static bool sleeping_prematurely(pg_data_t *pgdat, int order, long remaining,
}
if (!zone_watermark_ok_safe(zone, order, high_wmark_pages(zone),
- classzone_idx, 0))
+ i, 0))
all_zones_ok = false;
else
balanced += zone->present_pages;