aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorCatalin Marinas <[email protected]>2019-08-13 22:37:34 +0000
committerLinus Torvalds <[email protected]>2019-08-13 23:06:52 +0000
commitfcf3a5b62f431ce9feeac73afbe128b7b6395dbc (patch)
treedd71cf52ac4dd8a03e3516c37e2e7499f920c52e /tools/perf/scripts/python/intel-pt-events.py
parentmm/vmalloc.c: fix percpu free VM area search criteria (diff)
downloadkernel-fcf3a5b62f431ce9feeac73afbe128b7b6395dbc.tar.gz
kernel-fcf3a5b62f431ce9feeac73afbe128b7b6395dbc.zip
mm: kmemleak: disable early logging in case of error
If an error occurs during kmemleak_init() (e.g. kmem cache cannot be created), kmemleak is disabled but kmemleak_early_log remains enabled. Subsequently, when the .init.text section is freed, the log_early() function no longer exists. To avoid a page fault in such scenario, ensure that kmemleak_disable() also disables early logging. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]> Reported-by: Qian Cai <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions