add a knob to control whether to use other nodes at the same tier of the target node in DAMON
Subsystems (2)
Quoted 21 lines
Thank you for sending this patch series!
Quoted 10 lines · On Wed, 28 May 2025 19:10:36 +0800 wangchuanguo <[email protected]> wrote:
In DAMON's
migrate_hotandmigrate_coldfeatures, the code was intended to migrate pages only to the node specified by target_nid. However, during testing, it was observed that memory allocation and migration could occur on any nodes, which is a BUG.
The first patch in this PR fix this issue.A
use_nodes_of_tierfile has been added under the directory /sys/kernel/mm/damon/admin/kdamonds/<N>/contexts/<N>/schemes/<N>/ to control whether to use other nodes in the same tier as the target node for migration.I left a few comments on the patches. Looking forward to discussions on each sub-thread :)
Quoted 1 line
Quoted 7 lines
Quoted 1 line
wangchuanguo (2):
I believe your name is Wang Chuanguo? Sorry if I read/wrote it wrongly. But we disallow[1] anonymous contributions, and prefer more formal Signed-off-by:
if possible. Could you please use such formal Signed-off-by: identity, say, "Wang Chuanguo <[email protected]>" from next time?
I'm sorry, this was my mistake. I will be more careful next time.
Quoted 9 lines
[1]
https://docs.kernel.org/process/submitting-patches.html#developer-s-certifica
te-of-origin-1-1Thanks,
SJ[...]