Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752978AbZAEXC3 (ORCPT ); Mon, 5 Jan 2009 18:02:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750889AbZAEXCV (ORCPT ); Mon, 5 Jan 2009 18:02:21 -0500 Received: from relay2.sgi.com ([192.48.179.30]:54816 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750823AbZAEXCU (ORCPT ); Mon, 5 Jan 2009 18:02:20 -0500 Date: Mon, 5 Jan 2009 17:02:18 -0600 From: Dimitri Sivanich To: Peter Zijlstra , linux-kernel@vger.kernel.org, tony.luck@intel.com Cc: Ingo Molnar , Mike Galbraith , Srivatsa Vaddagiri , Gregory Haskins , Greg KH , Nick Piggin , Robin Holt Subject: Re: 2.6.27.8 scheduler bug - threads not being scheduled for long periods Message-ID: <20090105230218.GC20319@sgi.com> References: <20090105175641.GA17055@sgi.com> <1231188958.11687.12.camel@twins> <20090105215429.GA20319@sgi.com> <20090105223621.GB20319@sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090105223621.GB20319@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: 831 Lines: 20 Peter, On Mon, Jan 05, 2009 at 04:36:21PM -0600, Dimitri Sivanich wrote: > And sure enough, the rq->clock is sometimes going backwards. > > The comment for sched_clock() in arch/ia64/kernel/head.S: > * Return a CPU-local timestamp in nano-seconds. This timestamp is > * NOT synchronized across CPUs its return value must never be > * compared against the values returned on another CPU. The usage in > * kernel/sched.c ensures that. > > We will try this with CONFIG_HAVE_UNSTABLE_SCHED_CLOCKS. > The testcase does indeed run with CONFIG_HAVE_UNSTABLE_SCHED_CLOCKS configured. -- 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/