Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH 6.18.y 0/5] Backport of "mm: limit pagecache folio refcount"
@ 2026-11-30 13:06 Pedro Falcato
  2026-11-30 13:06 ` [PATCH 6.18.y 1/5] mm: limit pagecache folio refcount when mapping pages Pedro Falcato
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Pedro Falcato @ 2026-11-30 13:06 UTC (permalink / raw)
  To: stable; +Cc: Pedro Falcato, linux-mm

Hi,

here's the backport of the "mm: limit pagecache folio refcount" (or part of
it) to v6.18. This was mostly trivial, all patches Mostly Apply, apart from
a couple of userfaultfd hunks.

Note that these backports, as well as the following ones for 6.12, do
not include the net fixes, which haven't hit mainline yet.

Anyway, please consider for stable.

To: stable@vger.kernel.org
Cc: linux-mm@kvack.org

David Hildenbrand (Arm) (5):
  mm: limit pagecache folio refcount when mapping pages
  mm: limit pagecache folio refcount when splicing into pipes
  mm/mmu_gather: flush pending references early before the folio limit
  iommufd: fix cleanup when adding memfd folio pins fails
  mm/gup: limit pagecache folio refcount when grabbing references

 drivers/iommu/iommufd/pages.c | 15 ++++--
 fs/fuse/dev.c                 |  4 +-
 include/asm-generic/tlb.h     |  4 +-
 include/linux/mm.h            | 89 +++++++++++++++++++++++++++++------
 mm/filemap.c                  | 28 +++++++----
 mm/gup.c                      | 32 ++++++++-----
 mm/huge_memory.c              | 32 ++++++++++++-
 mm/internal.h                 |  4 +-
 mm/memory.c                   | 39 ++++++++++++---
 mm/migrate.c                  | 11 +++++
 mm/mmu_gather.c               | 10 ++--
 mm/shmem.c                    |  7 ++-
 mm/swap.c                     | 26 ++++++++++
 mm/userfaultfd.c              |  4 ++
 14 files changed, 247 insertions(+), 58 deletions(-)

-- 
2.56.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-12-02 13:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 13:06 [PATCH 6.18.y 0/5] Backport of "mm: limit pagecache folio refcount" Pedro Falcato
2026-11-30 13:06 ` [PATCH 6.18.y 1/5] mm: limit pagecache folio refcount when mapping pages Pedro Falcato
2026-11-30 13:06 ` [PATCH 6.18.y 2/5] mm: limit pagecache folio refcount when splicing into pipes Pedro Falcato
2026-11-30 13:06 ` [PATCH 6.18.y 3/5] mm/mmu_gather: flush pending references early before the folio limit Pedro Falcato
2026-11-30 13:06 ` [PATCH 6.18.y 4/5] iommufd: fix cleanup when adding memfd folio pins fails Pedro Falcato
2026-11-30 13:06 ` [PATCH 6.18.y 5/5] mm/gup: limit pagecache folio refcount when grabbing references Pedro Falcato
2026-12-02 13:48 ` [PATCH 6.18.y 0/5] Backport of "mm: limit pagecache folio refcount" Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox