From: Christoph Lameter swap_prefetch: Remove useless reference to HIGHMEM reserves. HIGHMEM "reserves" are always zero. Remove the addition of the highmem reserves. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton --- mm/swap_prefetch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN mm/swap_prefetch.c~reduce-max_nr_zones-swap_prefetch-remove-incorrect-use-of-zone_highmem mm/swap_prefetch.c --- a/mm/swap_prefetch.c~reduce-max_nr_zones-swap_prefetch-remove-incorrect-use-of-zone_highmem +++ a/mm/swap_prefetch.c @@ -278,8 +278,7 @@ static void examine_free_limits(void) ns = &sp_stat.node[z->zone_pgdat->node_id]; idx = zone_idx(z); - ns->lowfree[idx] = z->pages_high * 3 + - z->lowmem_reserve[ZONE_HIGHMEM]; + ns->lowfree[idx] = z->pages_high * 3; ns->highfree[idx] = ns->lowfree[idx] + z->pages_high; if (z->free_pages > ns->highfree[idx]) { _