[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230516141245.356200756ff3750ef4f12094@linux-foundation.org>
Date: Tue, 16 May 2023 14:12:45 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Oscar Salvador <osalvador@...e.de>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Michal Hocko <mhocko@...e.com>,
Vlastimil Babka <vbabka@...e.cz>,
Waiman Long <longman@...hat.com>,
Suren Baghdasaryan <surenb@...gle.com>,
Marco Elver <elver@...gle.com>,
Andrey Konovalov <andreyknvl@...il.com>,
Eric Dumazet <edumazet@...gle.com>,
Alexander Potapenko <glider@...gle.com>
Subject: Re: [PATCH v5 0/3] page_owner: print stacks and their counter
On Tue, 16 May 2023 20:25:34 +0200 Oscar Salvador <osalvador@...e.de> wrote:
>
> ...
>
> page_owner is a great debug functionality tool that gets us to know
> about all pages that have been allocated/freed and their stacktrace.
> This comes very handy when e.g: debugging leaks, as with some scripting
> we might be able to see those stacktraces that are allocating pages
> but not freeing theme.
>
> ...
>
> include/linux/stackdepot.h | 8 +++
> lib/stackdepot.c | 128 ++++++++++++++++++++++++++++++++++---
> mm/page_owner.c | 54 ++++++++++++++++
> 3 files changed, 180 insertions(+), 10 deletions(-)
Documentation/mm/page_owner.rst is feeling very sad.
I'll toss it in there for some testing for now. The changelogs would
benefit from a bit of proofreading, please - quite a few typos and
grammaros.
Powered by blists - more mailing lists