Re: [PATCH v2 08/17] locking/lockdep: Add support for nestable terminal locks

2018-12-07 Thread Peter Zijlstra
On Fri, Dec 07, 2018 at 10:22:52AM +0100, Peter Zijlstra wrote: > On Mon, Nov 19, 2018 at 01:55:17PM -0500, Waiman Long wrote: > > There are use cases where we want to allow nesting of one terminal lock > > underneath another terminal-like lock. That new lock type is called > > nestable terminal lo

Re: [PATCH v2 08/17] locking/lockdep: Add support for nestable terminal locks

2018-12-07 Thread Peter Zijlstra
On Mon, Nov 19, 2018 at 01:55:17PM -0500, Waiman Long wrote: > There are use cases where we want to allow nesting of one terminal lock > underneath another terminal-like lock. That new lock type is called > nestable terminal lock which can optionally allow the acquisition of > no more than one regu

[PATCH v2 08/17] locking/lockdep: Add support for nestable terminal locks

2018-11-19 Thread Waiman Long
There are use cases where we want to allow nesting of one terminal lock underneath another terminal-like lock. That new lock type is called nestable terminal lock which can optionally allow the acquisition of no more than one regular (non-nestable) terminal lock underneath it. Signed-off-by: Waima