The patch titled Subject: kasan-use-apply_to_existing_pages-for-releasing-vmalloc-shadow-fix has been added to the -mm tree. Its filename is kasan-use-apply_to_existing_pages-for-releasing-vmalloc-shadow-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/kasan-use-apply_to_existing_pages-for-releasing-vmalloc-shadow-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/kasan-use-apply_to_existing_pages-for-releasing-vmalloc-shadow-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: kasan-use-apply_to_existing_pages-for-releasing-vmalloc-shadow-fix s/apply_to_existing_pages/apply_to_existing_page_range/ Cc: Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx> Cc: Daniel Axtens <dja@xxxxxxxxxx> Cc: Dmitry Vyukov <dvyukov@xxxxxxxxxx> Cc: Alexander Potapenko <glider@xxxxxxxxxx> Cc: Qian Cai <cai@xxxxxx> Cc: Uladzislau Rezki (Sony) <urezki@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/kasan/common.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) --- a/mm/kasan/common.c~kasan-use-apply_to_existing_pages-for-releasing-vmalloc-shadow-fix +++ a/mm/kasan/common.c @@ -981,9 +981,10 @@ void kasan_release_vmalloc(unsigned long if (shadow_end > shadow_start) { size = shadow_end - shadow_start; - apply_to_existing_pages(&init_mm, (unsigned long)shadow_start, - size, kasan_depopulate_vmalloc_pte, - NULL); + apply_to_existing_page_range(&init_mm, + (unsigned long)shadow_start, + size, kasan_depopulate_vmalloc_pte, + NULL); flush_tlb_kernel_range((unsigned long)shadow_start, (unsigned long)shadow_end); } _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-add-apply_to_existing_pages-helper-fix.patch mm-add-apply_to_existing_pages-helper-fix-fix.patch kasan-use-apply_to_existing_pages-for-releasing-vmalloc-shadow-fix.patch mm.patch mm-oom-avoid-printk-iteration-under-rcu-fix.patch linux-next-git-rejects.patch drivers-block-null_blk_mainc-fix-layout.patch drivers-block-null_blk_mainc-fix-uninitialized-var-warnings.patch drivers-tty-serial-sh-scic-suppress-warning.patch kernel-forkc-export-kernel_thread-to-modules.patch