Re: [PATCH v5 4/4] mm: convert page kmemcg type to a page memcg flag

2020-10-14 Thread Michal Hocko
On Fri 02-10-20 10:25:59, Roman Gushchin wrote: > PageKmemcg flag is currently defined as a page type (like buddy, > offline, table and guard). Semantically it means that the page > was accounted as a kernel memory by the page allocator and has > to be uncharged on the release. > > As a side effec

Re: [PATCH v5 4/4] mm: convert page kmemcg type to a page memcg flag

2020-10-05 Thread Shakeel Butt
On Fri, Oct 2, 2020 at 10:26 AM Roman Gushchin wrote: > > PageKmemcg flag is currently defined as a page type (like buddy, > offline, table and guard). Semantically it means that the page > was accounted as a kernel memory by the page allocator and has > to be uncharged on the release. > > As a si

[PATCH v5 4/4] mm: convert page kmemcg type to a page memcg flag

2020-10-02 Thread Roman Gushchin
PageKmemcg flag is currently defined as a page type (like buddy, offline, table and guard). Semantically it means that the page was accounted as a kernel memory by the page allocator and has to be uncharged on the release. As a side effect of defining the flag as a page type, the accounted page ca