[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <57346F98.3040401@suse.cz>
Date: Thu, 12 May 2016 13:57:12 +0200
From: Vlastimil Babka <vbabka@...e.cz>
To: js1304@...il.com, Andrew Morton <akpm@...ux-foundation.org>
Cc: mgorman@...hsingularity.net, Minchan Kim <minchan@...nel.org>,
Alexander Potapenko <glider@...gle.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Joonsoo Kim <iamjoonsoo.kim@....com>
Subject: Re: [PATCH 6/6] mm/page_owner: use stackdepot to store stacktrace
On 05/03/2016 07:23 AM, js1304@...il.com wrote:
> From: Joonsoo Kim <iamjoonsoo.kim@....com>
>
> Currently, we store each page's allocation stacktrace on corresponding
> page_ext structure and it requires a lot of memory. This causes the problem
> that memory tight system doesn't work well if page_owner is enabled.
> Moreover, even with this large memory consumption, we cannot get full
> stacktrace because we allocate memory at boot time and just maintain
> 8 stacktrace slots to balance memory consumption. We could increase it
> to more but it would make system unusable or change system behaviour.
>
> To solve the problem, this patch uses stackdepot to store stacktrace.
FTR, this sounds useful and I've read your discussion with Michal, so
I'll wait for the next version.
Thanks
Powered by blists - more mailing lists