On Tue, 27 Dec 2011 13:57:01 +0100 Michal Hocko <mhocko@xxxxxxx> wrote: > On Fri 23-12-11 21:38:38, Hillf Danton wrote: > > From: Hillf Danton <dhillf@xxxxxxxxx> > > Subject: [PATCH] mm: hugetlb: avoid bogus counter of surplus huge page > > > > If we have to hand back the newly allocated huge page to page allocator, > > for any reason, the changed counter should be recovered. > > > > Cc: Michal Hocko <mhocko@xxxxxxx> > > Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> > > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > > Signed-off-by: Hillf Danton <dhillf@xxxxxxxxx> > > Broken since 2.6.27 (caff3a2c: hugetlb: call arch_prepare_hugepage() for > surplus pages) so a stable material afacit only s390 is affected, and s390's page_table_alloc() is fairly immortal, using GFP_KERNEL|__GFP_REPEAT. So unless Martin and Heiko disagree, I think we can merge this in 3.3-rc1. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>