summaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
authorJoonsoo Kim2016-03-17 22:17:49 +0100
committerLinus Torvalds2016-03-17 23:09:34 +0100
commitf48d97f340cbb0c323fa7a7b36bd76a108a9f49f (patch)
tree0cc690e92bd4ba6408530b777d3fce63b89e926b /mm/slub.c
parenttools/vm/page-types.c: support swap entry (diff)
downloadkernel-qcow2-linux-f48d97f340cbb0c323fa7a7b36bd76a108a9f49f.tar.gz
kernel-qcow2-linux-f48d97f340cbb0c323fa7a7b36bd76a108a9f49f.tar.xz
kernel-qcow2-linux-f48d97f340cbb0c323fa7a7b36bd76a108a9f49f.zip
mm/vmalloc: query dynamic DEBUG_PAGEALLOC setting
As CONFIG_DEBUG_PAGEALLOC can be enabled/disabled via kernel parameters we can optimize some cases by checking the enablement state. This is follow-up work for Christian's Optimize CONFIG_DEBUG_PAGEALLOC: https://lkml.org/lkml/2016/1/27/194 Remaining work is to make sparc to be aware of this but it looks not easy for me so I skip that in this series. This patch (of 5): We can disable debug_pagealloc processing even if the code is complied with CONFIG_DEBUG_PAGEALLOC. This patch changes the code to query whether it is enabled or not in runtime. [akpm@linux-foundation.org: update comment, per David. Adjust comment to use 80 cols] Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Acked-by: David Rientjes <rientjes@google.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Takashi Iwai <tiwai@suse.com> Cc: Chris Metcalf <cmetcalf@ezchip.com> Cc: Christoph Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions