Re: [PATCH] slab: annotate on-slab caches nodelist locks

2012-11-01 Thread Glauber Costa
On 11/01/2012 01:10 PM, Michael Wang wrote: > On 11/02/2012 12:48 AM, Glauber Costa wrote: >> On 11/01/2012 11:11 AM, Michael Wang wrote: >>> On 10/29/2012 06:49 PM, Glauber Costa wrote: We currently provide lockdep annotation for kmalloc caches, and also caches that have SLAB_DEBUG_OBJEC

Re: [PATCH] slab: annotate on-slab caches nodelist locks

2012-11-01 Thread Michael Wang
On 11/02/2012 12:48 AM, Glauber Costa wrote: > On 11/01/2012 11:11 AM, Michael Wang wrote: >> On 10/29/2012 06:49 PM, Glauber Costa wrote: >>> We currently provide lockdep annotation for kmalloc caches, and also >>> caches that have SLAB_DEBUG_OBJECTS enabled. The reason for this is that >>> we can

Re: [PATCH] slab: annotate on-slab caches nodelist locks

2012-11-01 Thread Glauber Costa
On 11/01/2012 11:11 AM, Michael Wang wrote: > On 10/29/2012 06:49 PM, Glauber Costa wrote: >> We currently provide lockdep annotation for kmalloc caches, and also >> caches that have SLAB_DEBUG_OBJECTS enabled. The reason for this is that >> we can quite frequently nest in the l3->list_lock lock, w

Re: [PATCH] slab: annotate on-slab caches nodelist locks

2012-11-01 Thread Michael Wang
On 10/29/2012 06:49 PM, Glauber Costa wrote: > We currently provide lockdep annotation for kmalloc caches, and also > caches that have SLAB_DEBUG_OBJECTS enabled. The reason for this is that > we can quite frequently nest in the l3->list_lock lock, which is not > something trivial to avoid. > > My

Re: [PATCH] slab: annotate on-slab caches nodelist locks

2012-10-31 Thread Pekka Enberg
(Adding Peter and Michael to CC.) On Mon, Oct 29, 2012 at 12:49 PM, Glauber Costa wrote: > We currently provide lockdep annotation for kmalloc caches, and also > caches that have SLAB_DEBUG_OBJECTS enabled. The reason for this is that > we can quite frequently nest in the l3->list_lock lock, whic