From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753585Ab1ASHlL (ORCPT ); Wed, 19 Jan 2011 02:41:11 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:34622 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753527Ab1ASHlK (ORCPT ); Wed, 19 Jan 2011 02:41:10 -0500 X-Authenticated: #14349625 X-Provags-ID: V01U2FsdGVkX186/ShIztw63U86OeIWeT6933Mbsqi3w6OtLVtzdy +hpjT+zxcSkD6L Subject: Re: Bug in scheduler when using rt_mutex From: Mike Galbraith To: Ingo Molnar Cc: Yong Zhang , Peter Zijlstra , samu.p.onkalo@nokia.com, "linux-kernel@vger.kernel.org" , tglx In-Reply-To: <20110119071917.GA26086@elte.hu> References: <1295280032.30950.128.camel@laptop> <1295339012.11678.35.camel@kolo> <1295357746.30950.681.camel@laptop> <1295408637.8017.56.camel@marge.simson.net> <1295415657.8017.113.camel@marge.simson.net> <1295419041.8017.120.camel@marge.simson.net> <20110119071917.GA26086@elte.hu> Content-Type: text/plain; charset="UTF-8" Date: Wed, 19 Jan 2011 08:41:05 +0100 Message-ID: <1295422865.18384.9.camel@marge.simson.net> Mime-Version: 1.0 X-Mailer: Evolution 2.30.1.2 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2011-01-19 at 08:19 +0100, Ingo Molnar wrote: > * Mike Galbraith wrote: > > > On Wed, 2011-01-19 at 14:09 +0800, Yong Zhang wrote: > > > On Wed, Jan 19, 2011 at 1:40 PM, Mike Galbraith 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. Gotta give the original authors credit though, their self modifying code comes equipped with a fully automated hardware break-point debugger. -Mike