Docs/mm/damon/design: remove the details for pageout as paddr doesn't use MADV_PAGEOUT
authorBarry Song <v-songbaohua@oppo.com>
Sat, 24 Feb 2024 22:47:51 +0000 (11:47 +1300)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 5 Mar 2024 01:01:17 +0000 (17:01 -0800)
commitff0b5905a9c9712f36fb7f9dd1be17564483b5d4
tree1dfc9e41ea5fe5df41cc94cf10f49e9e31000cbc
parent8cc92a67932febc3f84cf6b3c7d08f27a1b2ebc3
Docs/mm/damon/design: remove the details for pageout as paddr doesn't use MADV_PAGEOUT

The doc needs a fix.  As only in the case of virtual address, we are
calling madvise() with MADV_PAGEOUT.  But in the case of physical address,
we are calling reclaim_pages() directly.  MADV_PAGEOUT on virtual address
is much more aggresive to reclaim memory compared to reclaim_pages() on
paddr region.  This patch removes the details so that the description can
apply to both cases.  And we don't need to couple with the implementation
details.

Link: https://lkml.kernel.org/r/20240224224751.4673-1-21cnbao@gmail.com
Signed-off-by: Barry Song <v-songbaohua@oppo.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/mm/damon/design.rst