[PATCH v1 0/2] kasan: fix memory notifier handling

From: David Hildenbrand
Date: Tue May 22 2018 - 05:01:17 EST


If onlining of pages fails, we don't properly free up memory.
Also, the memory hotplug notifier is not registered early enough, still
failing on certain setups where memory is detected, added and onlined
early.

David Hildenbrand (2):
kasan: free allocated shadow memory on MEM_CANCEL_OFFLINE
kasan: fix memory hotplug during boot

mm/kasan/kasan.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

--
2.17.0