We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 834405c commit 4f9f477Copy full SHA for 4f9f477
mm/page_alloc.c
@@ -3438,8 +3438,8 @@ static int default_zonelist_order(void)
3438
z = &NODE_DATA(nid)->node_zones[zone_type];
3439
if (populated_zone(z)) {
3440
if (zone_type < ZONE_NORMAL)
3441
- low_kmem_size += z->present_pages;
3442
- total_size += z->present_pages;
+ low_kmem_size += z->managed_pages;
+ total_size += z->managed_pages;
3443
} else if (zone_type == ZONE_NORMAL) {
3444
/*
3445
* If any node has only lowmem, then node order
0 commit comments