Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1460505
| From | Vlastimil Babka <vbabka@suse.cz> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 5/5] mm/page_owner: don't define fields on struct page_ext by hard-coding |
| Date | 2016-08-11 15:10 +0200 |
| Message-ID | <s4XUe-4eY-59@gated-at.bofh.it> (permalink) |
| References | <s4GgH-79-61@gated-at.bofh.it> <s4GgH-79-59@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/5] Reduce memory waste by page extension user js1304@gmail.com - 2016-08-11 00:20 +0200
[PATCH 2/5] mm/debug_pagealloc: don't allocate page_ext if we don't use guard page js1304@gmail.com - 2016-08-11 00:50 +0200
Re: [PATCH 2/5] mm/debug_pagealloc: don't allocate page_ext if we don't use guard page Vlastimil Babka <vbabka@suse.cz> - 2016-08-11 12:00 +0200
Re: [PATCH 1/5] mm/debug_pagealloc: clean-up guard page handling code Vlastimil Babka <vbabka@suse.cz> - 2016-08-11 11:40 +0200
Re: [PATCH 1/5] mm/debug_pagealloc: clean-up guard page handling code Vlastimil Babka <vbabka@suse.cz> - 2016-08-11 11:50 +0200
Re: [PATCH 1/5] mm/debug_pagealloc: clean-up guard page handling code Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-08-12 14:30 +0200
Re: [PATCH 1/5] mm/debug_pagealloc: clean-up guard page handling code Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-08-16 05:00 +0200
Re: [PATCH 3/5] mm/page_owner: move page_owner specific function to page_owner.c Vlastimil Babka <vbabka@suse.cz> - 2016-08-11 14:40 +0200
Re: [PATCH 4/5] mm/page_ext: support extra space allocation by page_ext user Vlastimil Babka <vbabka@suse.cz> - 2016-08-11 15:00 +0200
Re: [PATCH 5/5] mm/page_owner: don't define fields on struct page_ext by hard-coding Vlastimil Babka <vbabka@suse.cz> - 2016-08-11 15:10 +0200
csiph-web