Messages in this thread | | | From | Kuan-Ying Lee (李冠穎) <> | Subject | Re: [PATCH 00/15] stackdepot: allow evicting stack traces | Date | Tue, 5 Sep 2023 02:48:00 +0000 |
| |
On Mon, 2023-09-04 at 20:45 +0200, Andrey Konovalov wrote: > On Wed, Aug 30, 2023 at 9:46 AM Vlastimil Babka <vbabka@suse.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! >
| |