On Wed, Jan 18, 2017 at 03:12:55PM +0100, Peter Zijlstra wrote:
> On Wed, Jan 18, 2017 at 09:14:59PM +0900, byungchul.park wrote:
>
> > +Example 3:
> > +
> > + CONTEXT X CONTEXT Y
> > + - -
> > + mutex_lock A
> > + mutex_
On Wed, Jan 18, 2017 at 09:14:59PM +0900, byungchul.park wrote:
> +Example 3:
> +
> + CONTEXT XCONTEXT Y
> + --
> +mutex_lock A
> + mutex_lock A
> + mutex_unlock A
> +wait_for_complete B /* DEADLOCK */
.com'; 'kir...@shutemov.name'; 'linux-
> ker...@vger.kernel.org'; 'linux...@kvack.org'; 'iamjoonsoo....@lge.com';
> 'a...@linux-foundation.org'; 'npig...@gmail.com'
> Subject: RE: [PATCH v4 15/15] lockdep: Crossrelease feature docum
On Wed, Jan 18, 2017 at 08:54:28PM +0900, Byungchul Park wrote:
> On Wed, Jan 18, 2017 at 12:03:17PM +0100, Peter Zijlstra wrote:
> > On Wed, Jan 18, 2017 at 07:53:47PM +0900, Byungchul Park wrote:
> > > On Wed, Jan 18, 2017 at 02:42:30PM +0800, Boqun Feng wrote:
> > > > On Fri, Dec 09, 2016 at 02:
linux...@kvack.org;
> iamjoonsoo@lge.com; a...@linux-foundation.org; npig...@gmail.com
> Subject: Re: [PATCH v4 15/15] lockdep: Crossrelease feature documentation
>
> On Wed, Jan 18, 2017 at 08:54:28PM +0900, Byungchul Park wrote:
> > On Wed, Jan 18, 2017 at 12:03:17PM +0100, Pet
On Wed, Jan 18, 2017 at 12:03:17PM +0100, Peter Zijlstra wrote:
> On Wed, Jan 18, 2017 at 07:53:47PM +0900, Byungchul Park wrote:
> > On Wed, Jan 18, 2017 at 02:42:30PM +0800, Boqun Feng wrote:
> > > On Fri, Dec 09, 2016 at 02:12:11PM +0900, Byungchul Park wrote:
> > > [...]
> > > > +Example 1:
> >
On Wed, Jan 18, 2017 at 02:42:30PM +0800, Boqun Feng wrote:
> On Fri, Dec 09, 2016 at 02:12:11PM +0900, Byungchul Park wrote:
> [...]
> > +Example 1:
> > +
> > + CONTEXT X CONTEXT Y
> > + - -
> > + mutext_lock A
> > + lock
On Wed, Jan 18, 2017 at 07:53:47PM +0900, Byungchul Park wrote:
> On Wed, Jan 18, 2017 at 02:42:30PM +0800, Boqun Feng wrote:
> > On Fri, Dec 09, 2016 at 02:12:11PM +0900, Byungchul Park wrote:
> > [...]
> > > +Example 1:
> > > +
> > > + CONTEXT XCONTEXT Y
> > > + -
On Fri, Dec 09, 2016 at 02:12:11PM +0900, Byungchul Park wrote:
[...]
> +Example 1:
> +
> + CONTEXT XCONTEXT Y
> + --
> + mutext_lock A
> +lock_page B
> + lock_page B
> +mutext_lock A /* DEADLOCK */
s/m
On Tue, Jan 10, 2017 at 09:08:50PM +0100, Peter Zijlstra wrote:
> But I still feel this document is very hard to read and presents things
> backwards.
I admit it. I think I need to modify the document more.. I will try it.
>
> > +Let's take a look at more complicated example.
> > +
> > + TASK
First off my sincere apologies for being so horribly slow with this :/
I did spend some time thinking about this thing during the Christmas
holidays, but have not yet managed to write a coherent text on it like I
promised I'd do.
That said; I think I now mostly understand what and why.
But I st
This document describes the concept of crossrelease feature, which
generalizes what causes a deadlock and how can detect a deadlock.
Signed-off-by: Byungchul Park
---
Documentation/locking/crossrelease.txt | 1053
1 file changed, 1053 insertions(+)
create mode 1
12 matches
Mail list logo