Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754491AbaDOKxl (ORCPT ); Tue, 15 Apr 2014 06:53:41 -0400 Received: from merlin.infradead.org ([205.233.59.134]:54439 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754367AbaDOKxg (ORCPT ); Tue, 15 Apr 2014 06:53:36 -0400 Date: Tue, 15 Apr 2014 12:53:32 +0200 From: Peter Zijlstra To: Frederic Weisbecker Cc: Viresh Kumar , Thomas Gleixner , Linux Kernel Mailing List , Lists linaro-kernel Subject: Re: [Query]: tick-sched: why don't we stop tick when we are running idle task? Message-ID: <20140415105332.GM13658@twins.programming.kicks-ass.net> References: <20140411145333.GC3438@localhost.localdomain> <20140411151825.GX11096@twins.programming.kicks-ass.net> <20140414110245.GG11096@twins.programming.kicks-ass.net> <20140414114744.GI11096@twins.programming.kicks-ass.net> <20140414120600.GJ11096@twins.programming.kicks-ass.net> <20140415093002.GL1877@localhost.localdomain> <20140415105226.GP11096@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140415105226.GP11096@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 15, 2014 at 12:52:26PM +0200, Peter Zijlstra wrote: > On Tue, Apr 15, 2014 at 11:30:04AM +0200, Frederic Weisbecker wrote: > > There is probably a few things that assume local calls but last time > > I checked I had the impression that it was fairly possible to call sched_class::task_tick() > > remotely. rq is locked, no reference to "current", use rq accessors... > > > > OTOH scheduler_tick() itself definetly requires local calls. > > possible isn't the problem, its completely insane to do that. What's more, I'm still waiting to hear why we're wanting to do any of this. -- 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/