LWN.net Logo

Re: Bug in scheduler when using rt_mutex

From:  Ingo Molnar <mingo-AT-elte.hu>
To:  Mike Galbraith <efault-AT-gmx.de>
Subject:  Re: Bug in scheduler when using rt_mutex
Date:  Wed, 19 Jan 2011 08:19:17 +0100
Message-ID:  <20110119071917.GA26086@elte.hu>
Cc:  Yong Zhang <yong.zhang0-AT-gmail.com>, Peter Zijlstra <peterz-AT-infradead.org>, samu.p.onkalo-AT-nokia.com, "linux-kernel-AT-vger.kernel.org" <linux-kernel-AT-vger.kernel.org>, tglx <tglx-AT-linutronix.de>
Archive-link:  Article, Thread


* Mike Galbraith <efault@gmx.de> wrote:

> On Wed, 2011-01-19 at 14:09 +0800, Yong Zhang wrote:
> > On Wed, Jan 19, 2011 at 1:40 PM, Mike Galbraith <efault@gmx.de> wrote:
> > > On Wed, 2011-01-19 at 12:35 +0800, Yong Zhang wrote:
> > >
> > >> cfs_rq->curr != se is always true.
> > >
> > > If that were always true, we'd illegally enqueue a running task.
> > 
> > I'm sorry that I'm not express myself correctly.
> 
> Human communication methods are all buggy as hell :)

Not to mention that they are slow, inefficient and ambiguous.

But wht did you expect? The original authors of the code are long gone and 
maintenance is done by newcomers who are patching the code bit by bit. What
you get from such a development model is pretty predictable: ~1 billion years
old spaghetti DNA that no-one truly understands.

	Ingo


(Log in to post comments)

Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds