From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760275AbYBFVwZ (ORCPT ); Wed, 6 Feb 2008 16:52:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754425AbYBFVwP (ORCPT ); Wed, 6 Feb 2008 16:52:15 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:60433 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754894AbYBFVwO (ORCPT ); Wed, 6 Feb 2008 16:52:14 -0500 From: "Rafael J. Wysocki" To: Peter Zijlstra Subject: Re: [Regression] 2.6.24-git9: RT sched mishandles artswrapper (bisected) Date: Wed, 6 Feb 2008 22:50:06 +0100 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: Dmitry Adamushko , Ingo Molnar , Andrew Morton , LKML , Steven Rostedt References: <200802010237.59320.rjw@sisk.pl> <200802061925.19474.rjw@sisk.pl> <1202334228.6274.1.camel@lappy> In-Reply-To: <1202334228.6274.1.camel@lappy> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802062250.07758.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday, 6 of February 2008, Peter Zijlstra wrote: > > On Wed, 2008-02-06 at 19:25 +0100, Rafael J. Wysocki wrote: > > On Wednesday, 6 of February 2008, Peter Zijlstra wrote: > > > > > > On Wed, 2008-02-06 at 09:40 +0100, Dmitry Adamushko wrote: > > > > On 06/02/2008, Rafael J. Wysocki wrote: > > > > > On Tuesday, 5 of February 2008, Dmitry Adamushko wrote: > > > > > > Rafael, any progress with this issue? (a few questions below). > > > > > > > > > > > > > > > > > > > > > > Does this artsmessage thing also run with RT priority? > > > > > > > > > > > > > > Well, it's in a strange state (after it's broken). From top: > > > > > > > > > > > > > > PR = -51 > > > > > > > NI = 0 > > > > > > > S = R > > > > > > > %CPU = 0.0 > > > > > > > %MEM = 0.0 > > > > > > > > > > > > cat /proc/$PID/stat ; sleep 3; cat /proc/$PID/stat ? > > > > > > cat /proc/sched_debug; sleep 3 ; cat /proc/sched_debug > > > > > > > > > > Well, instead please find appended a test program that allows me to trigger > > > > > the issue. > > > > > > > > Great, I'll look at this problem in the everning (sure, if nobody else > > > > is faster :-). > > > > > > Yeah, it seems fixed here (after I made my current queue compile for > > > this silly CONFIG_USER_SCHED thing again). > > > > > > I'm now refusing realtime tasks in groups that do not have real-time > > > bandwidth assigned. > > > > If you're referring to this patch: http://lkml.org/lkml/2008/2/4/332 , then > > sorry, but it doesn't fix the issue for me, with the attached config. > > Well, that whole queue. It doesn't compile for me. > Your test program just failed to obtain realtime scheduling Well, it shouldn't. The expected result is to obtain realtime scheduling or we will break existing setups. > but didn't hang. That's much better outcome. :-) > I'll test your full config. OK, thanks.