Thread (14 messages) 14 messages, 3 authors, 2015-07-23

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

From: Christoph Lameter <hidden>
Date: 2015-07-23 14:14:36

On Thu, 23 Jul 2015, Jesper Dangaard Brouer wrote:
quoted
quoted
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@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help