[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3a372d658246c5dd1ab1d95f4b601267b0fb154e.camel@mediatek.com>
Date: Tue, 5 Sep 2023 02:48:00 +0000
From: Kuan-Ying Lee (李冠穎)
<Kuan-Ying.Lee@...iatek.com>
To: "andreyknvl@...il.com" <andreyknvl@...il.com>,
"vbabka@...e.cz" <vbabka@...e.cz>
CC: "andreyknvl@...gle.com" <andreyknvl@...gle.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"kasan-dev@...glegroups.com" <kasan-dev@...glegroups.com>,
"dvyukov@...gle.com" <dvyukov@...gle.com>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
Kuan-Ying Lee (李冠穎)
<Kuan-Ying.Lee@...iatek.com>,
"elver@...gle.com" <elver@...gle.com>,
"eugenis@...gle.com" <eugenis@...gle.com>,
"andrey.konovalov@...ux.dev" <andrey.konovalov@...ux.dev>,
"glider@...gle.com" <glider@...gle.com>
Subject: Re: [PATCH 00/15] stackdepot: allow evicting stack traces
On Mon, 2023-09-04 at 20:45 +0200, Andrey Konovalov wrote:
> On Wed, Aug 30, 2023 at 9:46 AM Vlastimil Babka <vbabka@...e.cz>
> wrote:
> >
> > I wonder if there's also another thing to consider for the future:
> >
> > 3. With the number of stackdepot users increasing, each having
> > their
> > distinct set of stacks from others, would it make sense to create
> > separate
> > "storage instance" for each user instead of putting everything in a
> > single
> > shared one?
>
> This shouldn't be hard to implement. However, do you see any
> particular use cases for this?
>
> One thing that comes to mind is that the users will then be able to
> create/destroy stack depot instances when required. But I don't know
> if any of the users need this: so far they all seem to require stack
> depot throughout the whole lifetime of the system.
>
Maybe we can use evition in page_owner and slub_debug
(SLAB_STORE_USER).
After we update page_owner->handle, we could evict the previous
handle?
> > In any case, evicting support is a good development, thanks!
>
> Thank you!
>
Powered by blists - more mailing lists