Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756900Ab2JERYM (ORCPT ); Fri, 5 Oct 2012 13:24:12 -0400 Received: from casper.infradead.org ([85.118.1.10]:59021 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750897Ab2JERYI convert rfc822-to-8bit (ORCPT ); Fri, 5 Oct 2012 13:24:08 -0400 Message-ID: <1349457799.14388.52.camel@twins> Subject: Re: Seems like "sched: Add missing call to calc_load_exit_idle()" should be reverted in 3.5 branch From: Peter Zijlstra To: Jonathan Nieder Cc: Greg Kroah-Hartman , Huacai Chen , Charles Wang , Ingo Molnar , stable@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 05 Oct 2012 19:23:19 +0200 In-Reply-To: <20121005171007.GC15867@elie.Belkin> References: <20121004174626.GB14301@kroah.com> <1349375519.14388.16.camel@twins> <20121004222755.GC3609@kroah.com> <1349432466.14388.25.camel@twins> <20121005171007.GC15867@elie.Belkin> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1138 Lines: 30 On Fri, 2012-10-05 at 10:10 -0700, Jonathan Nieder wrote: > Peter Zijlstra wrote: > > On Thu, 2012-10-04 at 15:27 -0700, Greg Kroah-Hartman wrote: > > >> I'm puzzled as well. Any ideas if I should do anything here or not? > > > > So I think the current v3.5.5 code is fine. > > Now I'm puzzled. You wrote: > > | However, since we don't restart the tick, we won't be sampling load muck > | and calling calc_load_exit_idle() from there is bound to confuse state. > > Doesn't that mean 900404e5d201 "sched: Add missing call to > calc_load_exit_idle()" which is part of 3.5.5 was problematic? Or > did I just miscount the number of "not"s? Argh, yeah, so now I've managed to confuse everyone I'm afraid. You are right, v3.5.5 has one calc_load_exit_idle() too many, the one in tick_nohz_update_jiffies() needs to go. Sorry.. I got entirely confused figuring out wth happened with 3.6. -- 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/