Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758826AbYFDNud (ORCPT ); Wed, 4 Jun 2008 09:50:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752577AbYFDNuX (ORCPT ); Wed, 4 Jun 2008 09:50:23 -0400 Received: from relay1.sgi.com ([192.48.171.29]:41205 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752564AbYFDNuW (ORCPT ); Wed, 4 Jun 2008 09:50:22 -0400 Date: Wed, 4 Jun 2008 08:50:20 -0500 From: Dimitri Sivanich To: Cliff Wickman Cc: Peter Zijlstra , linux-kernel@vger.kernel.org Subject: Re: [BUG] hotplug cpus on ia64 Message-ID: <20080604135020.GB18993@sgi.com> References: <1212154614.12349.244.camel@twins> <20080603221759.GA19039@sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080603221759.GA19039@sgi.com> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1322 Lines: 35 On Tue, Jun 03, 2008 at 05:17:59PM -0500, Cliff Wickman wrote: > > On Fri, May 30, 2008 at 03:36:54PM +0200, Peter Zijlstra wrote: > > On Thu, 2008-05-29 at 11:32 -0500, Cliff Wickman wrote: > > > I put in counters and see that schedule() is never again entered by cpu 17 > > > after it is downed the 3rd time. > > > (it is entered after being up'd the first two times) > > > > > > The kstopmachine thread is bound to cpu 17 by __stop_machine_run()'s call > > > to kthread_bind(). > > > > > > A cpu does not schedule after being downed, of course. But it does again > > > after being up'd. > > > Why would the second up be different? Following it, if the cpu is > > > downed it never schedules again. > > > > > > If I always bind kstopmachine to cpu 0 the problem disappears. > > > > does: > > > > echo -1 > /proc/sys/kernel/sched_rt_runtime_us > > > > fix the problem? > > Yes! It does. > > Dimitri Sivanich has run into what looks like a similar problem. > Hope the above workaround is a good clue to its solution. This fixes the problem I was seeing as well. -- 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/