mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
3f19597215
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/20180522100756.18478-3-david@redhat.com
Fixes:
|
||
---|---|---|
.. | ||
kasan_init.c | ||
kasan.c | ||
kasan.h | ||
Makefile | ||
quarantine.c | ||
report.c |