linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] kasan: fix memory notifier handling
@ 2018-05-22  9:55 David Hildenbrand
  2018-05-22  9:55 ` [PATCH v1 1/2] kasan: free allocated shadow memory on MEM_CANCEL_OFFLINE David Hildenbrand
  2018-05-22  9:55 ` [PATCH v1 2/2] kasan: fix memory hotplug during boot David Hildenbrand
  0 siblings, 2 replies; 4+ messages in thread
From: David Hildenbrand @ 2018-05-22  9:55 UTC (permalink / raw)
  To: linux-mm; +Cc: linux-kernel, David Hildenbrand

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-22  9:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-22  9:55 [PATCH v1 0/2] kasan: fix memory notifier handling David Hildenbrand
2018-05-22  9:55 ` [PATCH v1 1/2] kasan: free allocated shadow memory on MEM_CANCEL_OFFLINE David Hildenbrand
2018-05-22  9:58   ` David Hildenbrand
2018-05-22  9:55 ` [PATCH v1 2/2] kasan: fix memory hotplug during boot David Hildenbrand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).