Re: [PATCH -V8 2/6] memory tiering: add page promotion counter

From: Huang, Ying
Date: Tue Sep 14 2021 - 21:53:23 EST


Yang Shi <shy828301@xxxxxxxxx> writes:

> On Mon, Sep 13, 2021 at 6:37 PM Huang Ying <ying.huang@xxxxxxxxx> wrote:
>>
>> To distinguish the number of the memory tiering promoted pages from
>> that of the originally inter-socket NUMA balancing migrated pages.
>> The counter is per-node (count in the target node). So this can be
>> used to identify promotion imbalance among the NUMA nodes.
>
> I'd like this patch be the very first one in the series. Since we need
> such counters regardless of all the optimizations. And actually I
> think this patch could go with the merged "migration in lieu of
> discard" patchset.

Yes. This sounds reasonable. I will change this in the next version.

Best Regards,
Huang, Ying