Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759392AbYFPOky (ORCPT ); Mon, 16 Jun 2008 10:40:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758669AbYFPOjS (ORCPT ); Mon, 16 Jun 2008 10:39:18 -0400 Received: from casper.infradead.org ([85.118.1.10]:42132 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758693AbYFPOjR (ORCPT ); Mon, 16 Jun 2008 10:39:17 -0400 Subject: Re: [BUG: NULL pointer dereference] cgroups and RT scheduling interact badly. From: Peter Zijlstra To: "Daniel K." Cc: mingo@elte.hu, menage@google.com, Linux Kernel Mailing List In-Reply-To: <1213624312.16944.104.camel@twins> References: <485445AE.2010602@uw.no> <1213612447.16944.99.camel@twins> <4856671B.1020304@uw.no> <1213624312.16944.104.camel@twins> Content-Type: text/plain Date: Mon, 16 Jun 2008 16:39:08 +0200 Message-Id: <1213627148.16944.106.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1459 Lines: 38 On Mon, 2008-06-16 at 15:51 +0200, Peter Zijlstra wrote: > On Mon, 2008-06-16 at 15:14 +0200, Daniel K. wrote: > > Peter Zijlstra wrote: > > > Does the below work for you? > > > > > > Signed-off-by: Peter Zijlstra > > > --- > > > Index: linux-2.6/kernel/sched.c > > > =================================================================== > > > --- linux-2.6.orig/kernel/sched.c > > > +++ linux-2.6/kernel/sched.c > > > @@ -7784,7 +7784,6 @@ static void init_tg_rt_entry(struct task > > > else > > > rt_se->rt_rq = parent->my_q; > > > > > > - rt_se->rt_rq = &rq->rt; > > > rt_se->my_q = rt_rq; > > > rt_se->parent = parent; > > > INIT_LIST_HEAD(&rt_se->run_list); > > > > Although this patch seems to be correct, this is what shows up on my > > netconsole, when applying it -- with an offset, do you have other fixes > > applied as well? > > I had indeed, although nothing touching the rt scheduler. I popped all > my patches and pulled an update from Linus, but I fail to reproduce the > below. > > /me goes look for that burnp6 thing, I used a simple while (1); loop. found it, still seems to work for me. do you have a funny number of cpus? or anything else noteworthy? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/