linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Use folio APIs in procfs
@ 2024-04-03 17:14 Matthew Wilcox (Oracle)
  2024-04-03 17:14 ` [PATCH 1/4] proc: Convert gather_stats to use a folio Matthew Wilcox (Oracle)
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Matthew Wilcox (Oracle) @ 2024-04-03 17:14 UTC (permalink / raw)
  To: Andrew Morton, Christian Brauner
  Cc: Matthew Wilcox (Oracle), linux-kernel, linux-fsdevel, linux-mm

Not sure whether Andrew or Christian will want to take this set of
fixes.  We're down to very few users of the PageFoo macros, with proc
being a major user.  After this patchset and another patchset I have
for khugepaged, we can get rid of PageActive, PageReadahead and
PageSwapBacked.

This patchset has the usual advantages in its own right of removing
hidden calls to compound_head().  We have the page table lock, so
the mapcount & refcount are stable and there can't be any races with
folios suddenly becoming tail pages.

Matthew Wilcox (Oracle) (4):
  proc: Convert gather_stats to use a folio
  proc: Convert smaps_page_accumulate to use a folio
  proc: Pass a folio to smaps_page_accumulate()
  proc: Convert smaps_pmd_entry to use a folio

 fs/proc/task_mmu.c | 37 ++++++++++++++++++++-----------------
 1 file changed, 20 insertions(+), 17 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2024-04-05 11:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-03 17:14 [PATCH 0/4] Use folio APIs in procfs Matthew Wilcox (Oracle)
2024-04-03 17:14 ` [PATCH 1/4] proc: Convert gather_stats to use a folio Matthew Wilcox (Oracle)
2024-04-03 17:14 ` [PATCH 2/4] proc: Convert smaps_page_accumulate " Matthew Wilcox (Oracle)
2024-04-03 17:14 ` [PATCH 3/4] proc: Pass a folio to smaps_page_accumulate() Matthew Wilcox (Oracle)
2024-04-03 17:14 ` [PATCH 4/4] proc: Convert smaps_pmd_entry to use a folio Matthew Wilcox (Oracle)
2024-04-03 19:16 ` [PATCH 0/4] Use folio APIs in procfs Andrew Morton
2024-04-05 11:02   ` Christian Brauner

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