Re: [PATCH] mm: drop the 'anon_' prefix for swap-out mTHP counters

From: David Hildenbrand
Date: Wed May 22 2024 - 04:58:51 EST


On 22.05.24 10:51, Baolin Wang wrote:
The mTHP swap related counters: 'anon_swpout' and 'anon_swpout_fallback' are
confusing with an 'anon_' prefix, since the shmem can swap out non-anonymous
pages. So drop the 'anon_' prefix to keep consistent with the old swap counter
names.

Suggested-by: "Huang, Ying" <ying.huang@xxxxxxxxx>
Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>
---

Am I daydreaming or did we add the anon_ for a reason and discussed the interaction with shmem? At least I remember some discussion around that.

--
Cheers,

David / dhildenb