Skip to content

Commit 742cc2b

Browse files
sjp38torvalds
authored andcommitted
Docs/vm/damon/design: update DAMON-Idle Page Tracking interference handling
In DAMON's early development stage before it be merged in the mainline, it was first designed to work exclusively with Idle page tracking to avoid any interference between each other. Later, but still before be merged in the mainline, because Idle page tracking is fully under the control of sysadmins, we made the resolving of conflict as the responsibility of sysadmins. The document is not updated for the change, though. This commit updates the document for that. Link: https://lkml.kernel.org/r/20220222170100.17068-3-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 561f4fc commit 742cc2b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Documentation/vm/damon/design.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,10 @@ table having a mapping to the address. In this way, the implementations find
8484
and clear the bit(s) for next sampling target address and checks whether the
8585
bit(s) set again after one sampling period. This could disturb other kernel
8686
subsystems using the Accessed bits, namely Idle page tracking and the reclaim
87-
logic. To avoid such disturbances, DAMON makes it mutually exclusive with Idle
88-
page tracking and uses ``PG_idle`` and ``PG_young`` page flags to solve the
89-
conflict with the reclaim logic, as Idle page tracking does.
87+
logic. DAMON does nothing to avoid disturbing Idle page tracking, so handling
88+
the interference is the responsibility of sysadmins. However, it solves the
89+
conflict with the reclaim logic using ``PG_idle`` and ``PG_young`` page flags,
90+
as Idle page tracking does.
9091

9192

9293
Address Space Independent Core Mechanisms

0 commit comments

Comments
 (0)