Messages in this thread | | | Subject | Re: [PATCH 5/5] mm/page_owner: don't define fields on struct page_ext by hard-coding | From | Vlastimil Babka <> | Date | Thu, 11 Aug 2016 15:01:07 +0200 |
| |
On 08/10/2016 08:16 AM, js1304@gmail.com wrote: > From: Joonsoo Kim <iamjoonsoo.kim@lge.com> > > 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 fields > by hard-coding. > > This patch removes hard-coded define and uses extra memory for storing > page_owner information in page_owner. Most of code are just mechanical > changes. > > Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
| |