Re: [PATCH 1/2] lockdep: lockdep_set_class_and_subclass

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

 



On Tuesday 26 September 2006 07:54, Ingo Molnar wrote:
> 
> * Peter Zijlstra <[email protected]> wrote:
> 
> > Add lockdep_set_class_and_subclass() to the lockdep annotations.
> > 
> > This annotation makes it possible to assign a subclass on lock init. 
> > This annotation is meant to reduce the _nested() annotations by 
> > assigning a default subclass.
> > 
> > One could do without this annotation and rely on lockdep_set_class() 
> > exclusively, but that would require a manual stack of struct 
> > lock_class_key objects.
> > 
> > Signed-off-by: Peter Zijlstra <[email protected]>
> 
> thanks, this extension to lockdep.c looks good to me - provided it 
> solves the problem :-)
> 
> Acked-by: Ingo Molnar <[email protected]>
> 

I will try testing it tonight - I have a Synaptics with a pass-through
port. Anyway, it really looks good now as far as serio code concerned.

-- 
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux