Re: [PATCH] mm: do not update memcg stats for NR_{FILE/SHMEM}_PMDMAPPED

From: David Hildenbrand
Date: Mon May 06 2024 - 14:35:56 EST


On 06.05.24 19:00, Yosry Ahmed wrote:
Do not use __lruvec_stat_mod_folio() when updating NR_FILE_PMDMAPPED and
NR_SHMEM_PMDMAPPED as these stats are not maintained per-memcg. Use
__mod_node_page_state() instead, which updates the global per-node stats
only.

What's the effect of this? IIUC, it's been that way forever, no?

Fixes: ?

Do we want to CC stable?


--
Cheers,

David / dhildenb