Re: [patch V3 13/20] Documentation: Add lock ordering and nesting documentation

2020-03-24 Thread Paul E. McKenney
On Wed, Mar 25, 2020 at 12:13:34AM +0100, Thomas Gleixner wrote: > Paul, > > "Paul E. McKenney" writes: > > On Sat, Mar 21, 2020 at 12:25:57PM +0100, Thomas Gleixner wrote: > > In the normal case where the task sleeps through the entire lock > > acquisition, the sequence of events is as follows:

Re: [patch V3 13/20] Documentation: Add lock ordering and nesting documentation

2020-03-24 Thread Thomas Gleixner
Paul, "Paul E. McKenney" writes: > On Sat, Mar 21, 2020 at 12:25:57PM +0100, Thomas Gleixner wrote: > In the normal case where the task sleeps through the entire lock > acquisition, the sequence of events is as follows: > > state = UNINTERRUPTIBLE > lock() >block() > re

Re: [patch V3 13/20] Documentation: Add lock ordering and nesting documentation

2020-03-22 Thread Paul E. McKenney
On Sat, Mar 21, 2020 at 12:25:57PM +0100, Thomas Gleixner wrote: > From: Thomas Gleixner > > The kernel provides a variety of locking primitives. The nesting of these > lock types and the implications of them on RT enabled kernels is nowhere > documented. > > Add initial documentation. > > Sign