Re: [PATCH 5/5] mm/page_owner: don't define fields on struct page_ext by hard-coding

2016-08-11 Thread Vlastimil Babka
On 08/10/2016 08:16 AM, js1...@gmail.com wrote: From: Joonsoo Kim There is a memory waste problem if we define field on struct page_ext by hard-coding. Entry size of struct page_ext includes the size of those fields even if it is disabled at runtime. Now, extra memory request at runtime is poss

[PATCH 5/5] mm/page_owner: don't define fields on struct page_ext by hard-coding

2016-08-10 Thread js1304
From: Joonsoo Kim There is a memory waste problem if we define field on struct page_ext by hard-coding. Entry size of struct page_ext includes the size of those fields even if it is disabled at runtime. Now, extra memory request at runtime is possible so page_owner don't need to define it's own f