On Thu, 15 Nov 2012, Andrew Morton wrote: > From: Andrew Morton <a...@linux-foundation.org> > Subject: revert "mm: fix-up zone present pages" > > Revert > > commit 7f1290f2f2a4d2c3f1b7ce8e87256e052ca23125 > Author: Jianguo Wu <wujian...@huawei.com> > AuthorDate: Mon Oct 8 16:33:06 2012 -0700 > Commit: Linus Torvalds <torva...@linux-foundation.org> > CommitDate: Tue Oct 9 16:22:54 2012 +0900 > > mm: fix-up zone present pages > > > That patch tried to fix a issue when calculating zone->present_pages, but > it caused a regression on 32bit systems with HIGHMEM. With that > changeset, reset_zone_present_pages() resets all zone->present_pages to > zero, and fixup_zone_present_pages() is called to recalculate > zone->present_pages when the boot allocator frees core memory pages into > buddy allocator. Because highmem pages are not freed by bootmem > allocator, all highmem zones' present_pages becomes zero. > > Various options for improving the situation are being discussed but for > now, let's return to the 3.6 code. > > Cc: Jianguo Wu <wujian...@huawei.com> > Cc: Jiang Liu <jiang....@huawei.com> > Cc: Petr Tesarik <ptesa...@suse.cz> > Cc: "Luck, Tony" <tony.l...@intel.com> > Cc: Mel Gorman <m...@csn.ul.ie> > Cc: Yinghai Lu <ying...@kernel.org> > Cc: Minchan Kim <minchan....@gmail.com> > Cc: Johannes Weiner <han...@cmpxchg.org> > Cc: David Rientjes <rient...@google.com> > Signed-off-by: Andrew Morton <a...@linux-foundation.org>
Acked-by: David Rientjes <rient...@google.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/