Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH 6.12.y 0/6] Backport of "mm: limit pagecache folio refcount"
@ 2026-11-30 13:24 Pedro Falcato
  2026-11-30 13:24 ` [PATCH 6.12.y 1/6] mm: constify pagemap related test/getter functions Pedro Falcato
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Pedro Falcato @ 2026-11-30 13:24 UTC (permalink / raw)
  To: stable; +Cc: david, Pedro Falcato

Hi,

here's the backport of the "mm: limit pagecache folio refcount" (or part of
it) to v6.18. This wasn't particularly trivial, all patches Kind Of Apply,
except where they don't.

This includes two patches which are dependencies (not present in the v6.18
series).

Also note that this doesn't include the iommufd patch, as it blamed commit
was only introduced in 6.13.

These backports do not include the net fixes, which haven't hit
mainline yet.

I'm probably stopping here. I tried on our (downstream) 6.4 kernel and
nothing applies. I fully expect it to not apply on 6.6 LTS, and other
vintage kernels.

Anyway, please consider for stable.

To: stable@vger.kernel.org
Cc: linux-mm@kvack.org
Cc: "David Hildenbrand (Arm)" <david@kernel.org>

David Hildenbrand (Arm) (4):
  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
  mm/gup: limit pagecache folio refcount when grabbing references

Matthew Wilcox (Oracle) (1):
  filemap: Add folio_next_pos()

Max Kellermann (1):
  mm: constify pagemap related test/getter functions

 fs/fuse/dev.c             |  5 ++-
 fs/ocfs2/alloc.c          |  2 +-
 include/asm-generic/tlb.h |  6 +--
 include/linux/mm.h        | 89 +++++++++++++++++++++++++++++++++------
 include/linux/pagemap.h   | 66 +++++++++++++++++------------
 mm/filemap.c              | 29 ++++++++-----
 mm/gup.c                  | 32 +++++++++-----
 mm/huge_memory.c          | 10 +++++
 mm/internal.h             |  4 +-
 mm/memory.c               | 39 ++++++++++++++---
 mm/migrate.c              | 11 +++++
 mm/mmu_gather.c           | 10 +++--
 mm/shmem.c                |  7 ++-
 mm/userfaultfd.c          |  4 ++
 mm/util.c                 | 26 ++++++++++++
 15 files changed, 259 insertions(+), 81 deletions(-)

-- 
2.56.0


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

end of thread, other threads:[~2026-11-30 15:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 13:24 [PATCH 6.12.y 0/6] Backport of "mm: limit pagecache folio refcount" Pedro Falcato
2026-11-30 13:24 ` [PATCH 6.12.y 1/6] mm: constify pagemap related test/getter functions Pedro Falcato
2026-11-30 13:24 ` [PATCH 6.12.y 2/6] filemap: Add folio_next_pos() Pedro Falcato
2026-11-30 13:24 ` [PATCH 6.12.y 3/6] mm: limit pagecache folio refcount when mapping pages Pedro Falcato
2026-11-30 13:24 ` [PATCH 6.12.y 4/6] mm: limit pagecache folio refcount when splicing into pipes Pedro Falcato
2026-11-30 13:24 ` [PATCH 6.12.y 5/6] mm/mmu_gather: flush pending references early before the folio limit Pedro Falcato
2026-11-30 13:24 ` [PATCH 6.12.y 6/6] mm/gup: limit pagecache folio refcount when grabbing references Pedro Falcato
2026-11-30 13:38 ` [PATCH 6.12.y 0/6] Backport of "mm: limit pagecache folio refcount" Pedro Falcato
2026-11-30 15:43   ` David Hildenbrand (Arm)

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