Skip to content

some cleanups for pageout()

Baolin Wang linux-mm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 7 repliesIn review 1 of 2 applied
  2. v12 patches 20 repliesSuperseded

Changes in v2 from the cover letter

- Re-write the commit message for patch 1 after discussing with Hugh. Thanks.
- Add a warning to catch this unlikely case.
- Add acked tags. Thanks.

Patches in v2 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2mm: vmscan: remove folio_test_private() check in pageout()mm/vmscan.c+3 -97 replies
2/2mm: vmscan: simplify the folio refcount check in pageout()mm/vmscan.c+4 -120 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDavid HildenbrandShakeel Butt
1/2A-b A-b
2/2A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] some cleanups for pageout()

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.

Changes from v1:
- Re-write the commit message for patch 1 after discussing with Hugh. Thanks.
- Add a warning to catch this unlikely case.
- Add acked tags. Thanks.

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

 mm/vmscan.c | 28 +++++++---------------------
 1 file changed, 7 insertions(+), 21 deletions(-)
Signature · 1 line
2.43.7