Re: [PATCH 3/3] slub: build detached freelist with look-ahead

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 23 Jul 2015, Jesper Dangaard Brouer wrote:

> > > I was hoping I could define this per slub runtime.  Any chance this
> > > would be made possible?
> >
> > It's not possible to set/reset slab merge in runtime. Once merging
> > happens, one slab could have objects from different kmem_caches so we
> > can't separate it cleanly. Current best approach is to prevent merging
> > when creating new kmem_cache by introducing new slab flag
> > like as SLAB_NO_MERGE.
>
> Yes, the best option would be a new flag (e.g. SLAB_NO_MERGE) when
> creating the kmem_cache.

If this is only in order to stability artificial test loads then the
current kernel parameter is fine afaict. Such a flag has been proposed
numerous times but we never did anything about these requests.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]