* [folded-merged] mm-shmem-swap-fix-softlockup-with-mthp-swapin-v3.patch removed from -mm tree
@ 2025-06-20 3:45 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-06-20 3:45 UTC (permalink / raw)
To: mm-commits, usamaarif642, shikemeng, nphamcs, hughd, chrisl, bhe,
baolin.wang, baohua, kasong, akpm
The quilt patch titled
Subject: mm-shmem-swap-fix-softlockup-with-mthp-swapin-v3
has been removed from the -mm tree. Its filename was
mm-shmem-swap-fix-softlockup-with-mthp-swapin-v3.patch
This patch was dropped because it was folded into mm-shmem-swap-fix-softlockup-with-mthp-swapin.patch
------------------------------------------------------
From: Kairui Song <kasong@tencent.com>
Subject: mm-shmem-swap-fix-softlockup-with-mthp-swapin-v3
Date: Wed, 11 Jun 2025 02:16:45 +0800
add comment
Link: https://lkml.kernel.org/r/20250610181645.45922-1-ryncsn@gmail.com
Fixes: 1dd44c0af4fa ("mm: shmem: skip swapcache for swapin of synchronous swap device")
Signed-off-by: Kairui Song <kasong@tencent.com>
Reviewed-by: Barry Song <baohua@kernel.org>
Acked-by: Nhat Pham <nphamcs@gmail.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Baoquan He <bhe@redhat.com>
Cc: Chris Li <chrisl@kernel.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Kemeng Shi <shikemeng@huaweicloud.com>
Cc: Usama Arif <usamaarif642@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/shmem.c | 2 ++
1 file changed, 2 insertions(+)
--- a/mm/shmem.c~mm-shmem-swap-fix-softlockup-with-mthp-swapin-v3
+++ a/mm/shmem.c
@@ -2273,6 +2273,8 @@ static int shmem_swapin_folio(struct ino
* If uffd is active for the vma, we need per-page fault
* fidelity to maintain the uffd semantics, then fallback
* to swapin order-0 folio, as well as for zswap case.
+ * Any existing sub folio in the swap cache also blocks
+ * mTHP swapin.
*/
if (order > 0 && ((vma && unlikely(userfaultfd_armed(vma))) ||
!zswap_never_enabled() ||
_
Patches currently in -mm which might be from kasong@tencent.com are
mm-shmem-swap-fix-softlockup-with-mthp-swapin.patch
mm-userfaultfd-fix-race-of-userfaultfd_move-and-swap-cache.patch
mm-list_lru-refactor-the-locking-code.patch
mm-shmem-swap-improve-cached-mthp-handling-and-fix-potential-hung.patch
mm-shmem-swap-avoid-redundant-xarray-lookup-during-swapin.patch
mm-shmem-swap-improve-mthp-swapin-process.patch
mm-shmem-swap-avoid-false-positive-swap-cache-lookup.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-20 3:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-20 3:45 [folded-merged] mm-shmem-swap-fix-softlockup-with-mthp-swapin-v3.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.