diff options
| author | Joonsoo Kim <[email protected]> | 2016-03-17 14:17:49 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-03-17 15:09:34 -0700 |
| commit | f48d97f340cbb0c323fa7a7b36bd76a108a9f49f (patch) | |
| tree | 0cc690e92bd4ba6408530b777d3fce63b89e926b /tools/perf/scripts/python | |
| parent | 0335ddd34f39569a32096084bf3b0960d2b1212b (diff) | |
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.
[[email protected]: update comment, per David. Adjust comment to use 80 cols]
Signed-off-by: Joonsoo Kim <[email protected]>
Reviewed-by: Christian Borntraeger <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: Chris Metcalf <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions