Messages in this thread | | | Date | Sat, 20 Aug 2011 10:58:50 -0500 (CDT) | From | Christoph Lameter <> | Subject | Re: [slub p4 1/7] slub: free slabs without holding locks (V2) |
| |
On Sat, 20 Aug 2011, Pekka Enberg wrote:
> > static void free_partial(struct kmem_cache *s, struct kmem_cache_node *n) > > { > > Is it possible to somehow verify that we're the last thread using the cache > when SLUB debugging is enabled? It'd be useful for tracking down callers that > violate this assumption.
Hmmm... We do not track "threads" using slabs. I do not really know what the "thread" entity that would access a slab is? A subsystem? A kernel thread? A user thread? All these can access any slab at any time.
| |