Re: [RFC PATCH] mm: migrate: Add new node demotion strategy
From: Dave Hansen
Date: Thu Nov 04 2021 - 11:18:22 EST
On 11/4/21 2:13 AM, Baolin Wang wrote:
> +What: /sys/kernel/mm/numa/demotion_mode
> +Date: November 2021
> +Contact: Linux memory management mailing list <linux-mm@xxxxxxxxx>
> +Description: Set the demotion mode when enabling demoting pages during reclaim
I don't think we need a tunable for this. The existing behavior is just
stupid for your hardware and can be replaced. Let's also try to do it
with the existing node_demotion[] data structure before we go adding more.