From 0f58ea1f08856d698e0022d93b582db980f3cb77 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 30 Nov 2011 15:11:32 +1100 Subject: [PATCH] mm-exclude-reserved-pages-from-dirtyable-memory-fix fix highmem build Cc: Chris Mason Cc: Christoph Hellwig Cc: Dave Chinner Cc: Jan Kara Cc: Johannes Weiner Cc: KAMEZAWA Hiroyuki Cc: Mel Gorman Cc: Michal Hocko Cc: Minchan Kim Cc: Rik van Riel Cc: Shaohua Li Cc: Wu Fengguang Signed-off-by: Andrew Morton --- mm/page-writeback.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/page-writeback.c b/mm/page-writeback.c index bce2bd62e564..a56e15c059fe 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -157,8 +157,7 @@ static unsigned long highmem_dirtyable_memory(unsigned long total) &NODE_DATA(node)->node_zones[ZONE_HIGHMEM]; x += zone_page_state(z, NR_FREE_PAGES) + - zone_reclaimable_pages(z) - - zone->dirty_balance_reserve; + zone_reclaimable_pages(z) - z->dirty_balance_reserve; } /* * Make sure that the number of highmem pages is never larger -- 2.39.5