Re: [PATCH v3] mm: memcontrol: fix kernel stack account

2021-03-03 Thread Roman Gushchin
On Wed, Mar 03, 2021 at 11:18:43PM +0800, Muchun Song wrote: > For simplification 991e7673859e ("mm: memcontrol: account kernel stack > per node") has changed the per zone vmalloc backed stack pages > accounting to per node. By doing that we have lost a certain precision > because those pages

[PATCH v3] mm: memcontrol: fix kernel stack account

2021-03-03 Thread Muchun Song
For simplification 991e7673859e ("mm: memcontrol: account kernel stack per node") has changed the per zone vmalloc backed stack pages accounting to per node. By doing that we have lost a certain precision because those pages might live in different NUMA nodes. In the end NR_KERNEL_STACK_KB