From: Andrew Morton Date: Sun, 16 Apr 2023 19:31:58 +0000 (-0700) Subject: sync mm-stable with mm-hotfixes-stable to pick up depended-upon upstream changes X-Git-Tag: v6.6.7~2970^2~173 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e492cd61b986590a45c674ede7dd1c4dbf94cf24;p=platform%2Fkernel%2Flinux-starfive.git sync mm-stable with mm-hotfixes-stable to pick up depended-upon upstream changes --- e492cd61b986590a45c674ede7dd1c4dbf94cf24 diff --cc mm/mmap.c index 511f656,ff68a67..51cd747 --- a/mm/mmap.c +++ b/mm/mmap.c @@@ -3069,8 -3037,9 +3069,9 @@@ void exit_mmap(struct mm_struct *mm */ set_bit(MMF_OOM_SKIP, &mm->flags); mmap_write_lock(mm); + mt_clear_in_rcu(&mm->mm_mt); free_pgtables(&tlb, &mm->mm_mt, vma, FIRST_USER_ADDRESS, - USER_PGTABLES_CEILING); + USER_PGTABLES_CEILING, true); tlb_finish_mmu(&tlb); /*