Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762015AbZDCQrB (ORCPT ); Fri, 3 Apr 2009 12:47:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934135AbZDCQqV (ORCPT ); Fri, 3 Apr 2009 12:46:21 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:42728 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933576AbZDCQqS (ORCPT ); Fri, 3 Apr 2009 12:46:18 -0400 Date: Fri, 3 Apr 2009 18:44:50 +0200 From: Ingo Molnar To: Andrew Morton , "Rafael J. Wysocki" Cc: Akinobu Mita , Alexander Beregalov , "linux-next@vger.kernel.org" , LKML , linux-arch@vger.kernel.org, "David S. Miller" , Benjamin Herrenschmidt , Paul Mackerras , Martin Schwidefsky , Heiko Carstens , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Subject: Re: [PATCH] build fix for generic debug pagealloc Message-ID: <20090403164450.GC3047@elte.hu> References: <20090402163145.GA28728@localhost.localdomain> <20090402094522.b29004c8.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090402094522.b29004c8.akpm@linux-foundation.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1048 Lines: 29 * Andrew Morton wrote: > > +config DEBUG_PAGEALLOC > > + bool "Debug page memory allocations" > > + depends on DEBUG_KERNEL && ARCH_SUPPORTS_DEBUG_PAGEALLOC > > + depends on !HIBERNATION || !PPC && !SPARC > > + ---help--- > > + Unmap pages from the kernel linear mapping after free_pages(). > > + This results in a large slowdown, but helps to find certain types > > + of memory corruptions. > > + > > I guess this is why it wasn't discovered in my compile testing. > It's quite regrettable that `make allmodconfig' didn't enable the > feature. That's what allmodconfig is for. Hm, i _do_ remember some hibernation magic fix from Rafael, in the area of debugalloc. Many months ago. Rafael, is it supposed to work? If yes, i think we should unblock it. Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/