aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2018-05-25 14:48:11 -0700
committerLinus Torvalds <[email protected]>2018-05-25 18:12:11 -0700
commit3f1959721558a976aaf9c2024d5bc884e6411bf7 (patch)
tree9a1b3752806330c513951c0c5a633ec7f7fff690 /tools/perf/util/scripting-engines/trace-event-python.c
parented1596f9ab958dd156a66c9ff1029d3761c1786a (diff)
kasan: fix memory hotplug during boot
Using module_init() is wrong. E.g. ACPI adds and onlines memory before our memory notifier gets registered. This makes sure that ACPI memory detected during boot up will not result in a kernel crash. Easily reproducible with QEMU, just specify a DIMM when starting up. Link: http://lkml.kernel.org/r/[email protected] Fixes: 786a8959912e ("kasan: disable memory hotplug") Signed-off-by: David Hildenbrand <[email protected]> Acked-by: Andrey Ryabinin <[email protected]> Cc: Alexander Potapenko <[email protected]> Cc: Dmitry Vyukov <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions