[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1454488775-108777-1-git-send-email-borntraeger@de.ibm.com>
Date: Wed, 3 Feb 2016 09:39:26 +0100
From: Christian Borntraeger <borntraeger@...ibm.com>
To: akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org, x86@...nel.org,
Thomas Gleixner <tglx@...utronix.de>,
David Rientjes <rientjes@...gle.com>,
Christian Borntraeger <borntraeger@...ibm.com>
Subject: [PATCH v4 0/4 (resend)] Optimize CONFIG_DEBUG_PAGEALLOC (x86 and s390)
Andrew, here is a resend as these patches were dropped as I also
had them on my linux-next branch (instead of a private one)
As CONFIG_DEBUG_PAGEALLOC can be enabled/disabled via kernel
parameters we can optimize some cases by checking the enablement
state.
I have done s390 and x86. Other architecture can follow as necessary.
Christian Borntraeger (4):
mm: provide debug_pagealloc_enabled() without CONFIG_DEBUG_PAGEALLOC
x86: query dynamic DEBUG_PAGEALLOC setting
s390: query dynamic DEBUG_PAGEALLOC setting
x86: also use debug_pagealloc_enabled() for free_init_pages
arch/s390/kernel/dumpstack.c | 6 +++---
arch/s390/mm/vmem.c | 10 ++++------
arch/x86/kernel/dumpstack.c | 5 ++---
arch/x86/mm/init.c | 36 +++++++++++++++++++-----------------
arch/x86/mm/pageattr.c | 14 ++++----------
include/linux/mm.h | 9 +++++++--
6 files changed, 39 insertions(+), 41 deletions(-)
--
2.3.0
Powered by blists - more mailing lists