Re: [PATCH] mm: mempolicy: N:M interleave policy for tiered memory nodes

From: Johannes Weiner
Date: Wed Jun 08 2022 - 10:16:19 EST


On Wed, Jun 08, 2022 at 12:19:52PM +0800, Ying Huang wrote:
> In general, I think the use case is valid.

Excellent!

> But we are changing memory tiering now, including
>
> - make memory tiering explict
>
> - support more than 2 tiers
>
> - expose memory tiering via sysfs
>
> Details can be found int the following threads,
>
> https://lore.kernel.org/lkml/CAAPL-u9Wv+nH1VOZTj=9p9S70Y3Qz3+63EkqncRDdHfubsrjfw@xxxxxxxxxxxxxx/
> https://lore.kernel.org/lkml/20220603134237.131362-1-aneesh.kumar@xxxxxxxxxxxxx/
>
> With these changes, we may need to revise your implementation. For
> example, put interleave knobs in memory tier sysfs interface, support
> more than 2 tiers, etc.

Yeah, I was expecting the interface to be the main sticking point ;)
I'll rebase this patch as the mentioned discussions find consensus.

Thanks!