Skip to content

kasan: fix memory notifier handling

David Hildenbrand linux-mm lkml 2 versions Applied

Status from this message: [merged] kasan-fix-memory-hotplug-during-boot.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 7 repliesApplied 2/2
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- s/MEM_CANCEL_OFFLINE/MEM_CANCEL_ONLINE

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2kasan: free allocated shadow memory on MEM_CANCEL_ONLINEmm/kasan/kasan.c+1 -01 replyApplied
2/2kasan: fix memory hotplug during bootmm/kasan/kasan.c+1 -16 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAndrey Ryabinin
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] kasan: fix memory notifier handling

If onlining of pages fails (is canceled), 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.

v1 -> v2:
- s/MEM_CANCEL_OFFLINE/MEM_CANCEL_ONLINE

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

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