diff options
author | SeongJae Park <sj@kernel.org> | 2024-04-26 22:52:41 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-05-06 03:53:54 +0300 |
commit | 6daea38215e6a046892f87a8ff2c61f791de4ddd (patch) | |
tree | f0769b7d68af3a551f52adec099488877988b2e0 /mm/page_poison.c | |
parent | 180d928e55a8160a421aa96b522dc317a6f52140 (diff) | |
download | linux-6daea38215e6a046892f87a8ff2c61f791de4ddd.tar.xz |
mm/damon/paddr: implement damon_folio_mkold()
damon_pa_mkold() receives physical address, get the folio covering the
address, and makes the folio as old. A following commit will reuse the
internal logic for marking a given folio as old. To avoid duplication of
the code, split the internal logic. Also, change the rmap walker
function's name from __damon_pa_mkold() to damon_folio_mkold_one(),
following the change of the caller's name and the naming rule that more
commonly used by other rmap walkers.
Link: https://lkml.kernel.org/r/20240426195247.100306-3-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Tested-by: Honggyu Kim <honggyu.kim@sk.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_poison.c')
0 files changed, 0 insertions, 0 deletions