Roman Gushchin writes:
I'd personally go with memcg_vmstat_percpu. Not insisting, but you end up using both vmstat and vmstats, which isn't very consistent.
Yeah, we also have similar naming in accumulated_vmstats. Hmm, let me think about this a bit and get back to you tomorrow. The main bit I was concerned about was memory_events vs. events -- I don't really have strong opinions on the percpu struct's exact naming/plurality.
Other than that looks good to me. Please, feel free to add Acked-by: Roman Gushchin <guro@xxxxxx>
Thanks!