linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] some cleanups for pageout()
@ 2025-09-12  3:45 Baolin Wang
  2025-09-12  3:45 ` [PATCH 1/2] mm: vmscan: remove folio_test_private() check in pageout() Baolin Wang
  2025-09-12  3:45 ` [PATCH 2/2] mm: vmscan: simplify the folio refcount " Baolin Wang
  0 siblings, 2 replies; 23+ messages in thread
From: Baolin Wang @ 2025-09-12  3:45 UTC (permalink / raw)
  To: akpm, hannes
  Cc: david, mhocko, zhengqi.arch, shakeel.butt, lorenzo.stoakes,
	hughd, willy, baolin.wang, linux-mm, linux-kernel

Since we no longer attempt to write back filesystem folios in pageout(),
and only tmpfs/shmem folios and anonymous swapcache folios can be written
back, we can remove the redundant folio_test_private() related logic to
simplify the logic of pageout(), as tmpfs/shmem and swapcache folios do
not use the PG_private flag.

Baolin Wang (2):
  mm: vmscan: remove folio_test_private() check in pageout()
  mm: vmscan: simplify the folio refcount check in pageout()

 mm/vmscan.c | 30 ++++--------------------------
 1 file changed, 4 insertions(+), 26 deletions(-)

-- 
2.43.7



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

end of thread, other threads:[~2025-09-18  2:45 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-12  3:45 [PATCH 0/2] some cleanups for pageout() Baolin Wang
2025-09-12  3:45 ` [PATCH 1/2] mm: vmscan: remove folio_test_private() check in pageout() Baolin Wang
2025-09-12  8:24   ` David Hildenbrand
2025-09-12  8:24     ` David Hildenbrand
2025-09-12  8:31       ` Baolin Wang
2025-09-12  8:57         ` David Hildenbrand
2025-09-12  9:03           ` Baolin Wang
2025-09-12  8:57   ` David Hildenbrand
2025-09-12 15:21   ` Matthew Wilcox
2025-09-13  3:04     ` Baolin Wang
2025-09-15 20:47       ` Matthew Wilcox
2025-09-18  2:45         ` Baolin Wang
2025-09-12 16:13   ` Shakeel Butt
2025-09-13  3:24     ` Baolin Wang
2025-09-15 20:00       ` Shakeel Butt
2025-09-16  4:00       ` Hugh Dickins
2025-09-16  7:18         ` Baolin Wang
2025-09-17  3:50           ` Baolin Wang
2025-09-17  7:49             ` Hugh Dickins
2025-09-18  2:22               ` Baolin Wang
2025-09-12  3:45 ` [PATCH 2/2] mm: vmscan: simplify the folio refcount " Baolin Wang
2025-09-12  8:58   ` David Hildenbrand
2025-09-12 16:16   ` Shakeel Butt

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