Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755429Ab2HPRRR (ORCPT ); Thu, 16 Aug 2012 13:17:17 -0400 Received: from e23smtp07.au.ibm.com ([202.81.31.140]:53409 "EHLO e23smtp07.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752975Ab2HPRRO (ORCPT ); Thu, 16 Aug 2012 13:17:14 -0400 Date: Thu, 16 Aug 2012 22:46:09 +0530 From: Srikar Dronamraju To: Peter Zijlstra Cc: john stultz , "Paul E. McKenney" , LKML , Oleg Nesterov Subject: Re: rcu stalls seen with numasched_v2 patches applied. Message-ID: <20120816171609.GA25338@linux.vnet.ibm.com> Reply-To: Srikar Dronamraju References: <20120807123305.GA7137@linux.vnet.ibm.com> <1344347568.27828.122.camel@twins> <20120807171859.GB3850@linux.vnet.ibm.com> <1344455938.16728.13.camel@laptop> <20120810162425.GD31805@linux.vnet.ibm.com> <1344844273.31459.1.camel@twins> <1344845488.31459.10.camel@twins> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1344845488.31459.10.camel@twins> User-Agent: Mutt/1.5.20 (2009-06-14) x-cbid: 12081617-0260-0000-0000-000001B12BE3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2227 Lines: 62 * Peter Zijlstra [2012-08-13 10:11:28]: > On Mon, 2012-08-13 at 09:51 +0200, Peter Zijlstra wrote: > > On Fri, 2012-08-10 at 21:54 +0530, Srikar Dronamraju wrote: > > > > > This change worked well on the 2 node machine > > > but on the 8 node machine it hangs with repeated messages > > > > > > Pid: 60935, comm: numa01 Tainted: G W 3.5.0-numasched_v2_020812+ #4 > > > Call Trace: > > > [] ? rcu_check_callback s+0x632/0x650 > > > [] ? update_process_times+0x48/0x90 > > > [] ? tick_sched_timer+0x6e/0xe0 > > > [] ? __run_hrtimer+0x75/0x1a0 > > > [] ? tick_setup_sched_timer+0x100/0x100 > > > [] ? hrtimer_interrupt+0xf6/0x250 > > > [] ? smp_apic_timer_interrupt+0x69/0x99 > > > [] ? apic_timer_interrupt+0x6a/0x70 > > > [] ? wait_on_page_bit+0x73/0x80 > > > [] ? _raw_spin_lock+0x22/0x30 > > > [] ? handle_pte_fault+0x1b3/0xca0 > > > [] ? __schedule+0x2e7/0x710 > > > [] ? up_read+0x18/0x30 > > > [] ? do_page_fault+0x13e/0x460 > > > [] ? __switch_to+0x1aa/0x460 > > > [] ? __schedule+0x2e7/0x710 > > > [] ? page_fault+0x25/0x30 > > > { 3} (t=62998 jiffies) > > > > > > > If you run a -tip kernel without the numa patches, does that work? > > > n/m, I found a total brain-fart in there.. does the below sort it? > > --- > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -917,7 +917,7 @@ void task_numa_work(struct callback_head > t = p; > do { > sched_setnode(t, node); > - } while ((t = next_thread(p)) != p); > + } while ((t = next_thread(t)) != p); > rcu_read_unlock(); > } > > I tried this fix, but doesnt seem to help. will try on -tip and revert. -- thanks and regards srikar -- 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/