Re: [PATCH -V10 RESEND 1/6] NUMA Balancing: add page promotion counter

From: Hasan Al Maruf
Date: Tue Dec 07 2021 - 01:05:18 EST


Hi Huang,

>+#ifdef CONFIG_NUMA_BALANCING
>+ PGPROMOTE_SUCCESS, /* promote successfully */

I find a breakdown of Anon and File page promotion can often be useful to
understand an application's behavior (i.e. what kind of pages are moved to
remote node and later being promoted). What do you think about adding
counters for such a breakdown?

What's your thought on adding counters for failures on different reasons?

Best,
Hasan