Skip to content

mm/damon/paddr: simplify page level access re-check for pageout

SeongJae Park damon linux-mm lkml 1 version Applied

Status from this message: [merged mm-stable] mm-vmscan-remove-ignore_references-argument-of-reclaim_folio_list.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4mm/damon/paddr: avoid unnecessary page level access check for pageout DAMOS actionmm/damon/paddr.c+11 -10 repliesApplied
2/4mm/damon/paddr: do page level access check for pageout DAMOS action on its ownmm/damon/paddr.c+12 -40 repliesApplied
3/4mm/vmscan: remove ignore_references argument of reclaim_pages()mm/damon/paddr.c mm/internal.h mm/madvise.c +1 more+7 -70 repliesApplied
4/4mm/vmscan: remove ignore_references argument of reclaim_folio_list()mm/vmscan.c+4 -60 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] mm/damon/paddr: simplify page level access re-check for pageout

The 'pageout' DAMOS action implementation of 'paddr' asks reclaim_pages() to do page level access check again. But the user can ask 'paddr' to do the page level access check on its own, using DAMOS filter of 'young page' type. Meanwhile, 'paddr' is the only user of reclaim_pages() that asks the page level access check.

Make 'paddr' does the page level access check on its own always, and simplify reclaim_pages() by removing the page level access check request handling logic. As a result of the change for reclaim_pages(), reclaim_folio_list(), which is called by reclaim_pages(), also no more need to do the page level access check. Simplify the function, too.

SeongJae Park (4):
mm/damon/paddr: avoid unnecessary page level access check for pageout
DAMOS action
mm/damon/paddr: do page level access check for pageout DAMOS action on
its own
mm/vmscan: remove ignore_references argument of reclaim_pages() mm/vmscan: remove ignore_references argument of reclaim_folio_list()

 mm/damon/paddr.c | 20 +++++++++++++++++++-
 mm/internal.h    |  2 +-
 mm/madvise.c     |  4 ++--
 mm/vmscan.c      | 12 +++++-------
 4 files changed, 27 insertions(+), 11 deletions(-)

base-commit: 784e2d5fd3231ad7cad0ac907be4bc3db30520c0

Signature · 1 line
2.39.2