diff options
-rw-r--r-- | mm/page_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 657daea88aa8..f22542f6dc12 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -3438,8 +3438,8 @@ static int default_zonelist_order(void) | |||
3438 | z = &NODE_DATA(nid)->node_zones[zone_type]; | 3438 | z = &NODE_DATA(nid)->node_zones[zone_type]; |
3439 | if (populated_zone(z)) { | 3439 | if (populated_zone(z)) { |
3440 | if (zone_type < ZONE_NORMAL) | 3440 | if (zone_type < ZONE_NORMAL) |
3441 | low_kmem_size += z->present_pages; | 3441 | low_kmem_size += z->managed_pages; |
3442 | total_size += z->present_pages; | 3442 | total_size += z->managed_pages; |
3443 | } else if (zone_type == ZONE_NORMAL) { | 3443 | } else if (zone_type == ZONE_NORMAL) { |
3444 | /* | 3444 | /* |
3445 | * If any node has only lowmem, then node order | 3445 | * If any node has only lowmem, then node order |