The patch titled Subject: mm-delay-page_remove_rmap-until-after-the-tlb-has-been-flushed-fix has been added to the -mm mm-unstable branch. Its filename is mm-delay-page_remove_rmap-until-after-the-tlb-has-been-flushed-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-delay-page_remove_rmap-until-after-the-tlb-has-been-flushed-fix.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm 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 via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-delay-page_remove_rmap-until-after-the-tlb-has-been-flushed-fix Date: Wed Nov 9 04:07:36 PM PST 2022 Fix UP build, per Linus Cc: Hugh Dickins <hughd@xxxxxxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> Cc: Nadav Amit <nadav.amit@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/mmu_gather.c | 2 ++ 1 file changed, 2 insertions(+) --- a/mm/mmu_gather.c~mm-delay-page_remove_rmap-until-after-the-tlb-has-been-flushed-fix +++ a/mm/mmu_gather.c @@ -48,6 +48,7 @@ static bool tlb_next_batch(struct mmu_ga return true; } +#ifdef CONFIG_SMP /** * tlb_flush_rmaps - do pending rmap removals after we have flushed the TLB * @tlb: the current mmu_gather @@ -72,6 +73,7 @@ void tlb_flush_rmaps(struct mmu_gather * tlb->delayed_rmap = 0; } +#endif static void tlb_batch_pages_flush(struct mmu_gather *tlb) { _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-memremap_pages-replace-zone_device_page_init-with-pgmap_request_folios-fix.patch mm-gup-remove-foll_migration-fix.patch mm-memremap-introduce-pgmap_request_folio-using-pgmap-offsets-fix.patch mm-memremap-introduce-pgmap_request_folio-using-pgmap-offsets-fix-2.patch mm-use-stack_depot-for-recording-kmemleaks-backtrace-checkpatch-fixes.patch mm-use-stack_depot-for-recording-kmemleaks-backtrace-fix.patch mm-use-stack_depot-for-recording-kmemleaks-backtrace-v3-fix.patch kasan-allow-sampling-page_alloc-allocations-for-hw_tags-fix.patch mm-hugetlb-convert-move_hugetlb_state-to-folios-fix.patch mm-delay-page_remove_rmap-until-after-the-tlb-has-been-flushed-fix.patch powerpc-ptrace-user_regset_copyin_ignore-always-returns-0-fix.patch minmax-sanity-check-constant-bounds-when-clamping-checkpatch-fixes.patch minmax-sanity-check-constant-bounds-when-clamping-checkpatch-fixes-fix.patch proc-report-open-files-as-size-in-stat-for-proc-pid-fd-v3-fix.patch