From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754207AbcA0JRJ (ORCPT ); Wed, 27 Jan 2016 04:17:09 -0500 Received: from www.linutronix.de ([62.245.132.108]:41580 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753893AbcA0JRG (ORCPT ); Wed, 27 Jan 2016 04:17:06 -0500 Date: Wed, 27 Jan 2016 10:16:01 +0100 (CET) From: Thomas Gleixner To: Christian Borntraeger cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, x86@kernel.org, linuxppc-dev@lists.ozlabs.org, davem@davemloft.net, Joonsoo Kim , davej@codemonkey.org.uk Subject: Re: [PATCH v2 2/3] x86: query dynamic DEBUG_PAGEALLOC setting In-Reply-To: <1453884618-33852-3-git-send-email-borntraeger@de.ibm.com> Message-ID: References: <1453884618-33852-1-git-send-email-borntraeger@de.ibm.com> <1453884618-33852-3-git-send-email-borntraeger@de.ibm.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001,URIBL_BLOCKED=0.001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 27 Jan 2016, Christian Borntraeger wrote: > We can use debug_pagealloc_enabled() to check if we can map > the identity mapping with 2MB pages. We can also add the state > into the dump_stack output. > > The patch does not touch the code for the 1GB pages, which ignored > CONFIG_DEBUG_PAGEALLOC. Do we need to fence this as well? > > Signed-off-by: Christian Borntraeger Reviewed-by: Thomas Gleixner