lkml.org 
[lkml]   [2019]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] mm/page_owner: store page_owner's gfp_mask in stackdepot itself
On Mon, 17 Jun 2019 15:51:32 +0200 Vlastimil Babka <vbabka@suse.cz> wrote:

> On 6/7/19 7:53 AM, Sai Charan Sane wrote:
> > Memory overhead of 4MB is reduced by storing gfp_mask in stackdepot along
> > with stacktrace. Stackdepot memory usage increased by ~100kb for 4GB of RAM.
> >
> > Page owner logs from dmesg:
> > Before patch:
> > allocated 20971520 bytes of page_ext
> > After patch:
> > allocated 16777216 bytes of page_ext
> >
> > Signed-off-by: Sai Charan Sane <s.charan@samsung.com>
>
> I don't know, this looks like unneeded abuse to me. In the debug
> scenario when someone boots a kernel with page_owner enabled, does 4MB
> out of 4GB RAM really make a difference?

Thanks. I'll drop this patch.

\
 
 \ /
  Last update: 2019-07-12 03:04    [W:0.039 / U:0.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site