From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752912Ab1AYJHy (ORCPT ); Tue, 25 Jan 2011 04:07:54 -0500 Received: from casper.infradead.org ([85.118.1.10]:52182 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751708Ab1AYJHw convert rfc822-to-8bit (ORCPT ); Tue, 25 Jan 2011 04:07:52 -0500 Subject: Re: [PATCH 01/18] move do_timer() from kernel/timer.c into kernel/time/timekeeping.c From: Peter Zijlstra To: Thomas Gleixner Cc: john stultz , Torben Hohn , LKML , hch@infradead.org, yong.zhang0@gmail.com In-Reply-To: References: <1295651224-29823-1-git-send-email-torbenh@gmx.de> <1295651224-29823-2-git-send-email-torbenh@gmx.de> <1295901169.4845.29.camel@work-vm> <1295907672.2274.44.camel@twins> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Tue, 25 Jan 2011 10:08:34 +0100 Message-ID: <1295946514.28776.476.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2011-01-24 at 23:44 +0100, Thomas Gleixner wrote: > On Mon, 24 Jan 2011, Peter Zijlstra wrote: > > > On Mon, 2011-01-24 at 23:10 +0100, Thomas Gleixner wrote: > > > The call to calc_global_load() is there for hysterical raisins and we > > > really should get rid of it sooner than later. I'm quite sure that it > > > could be run from a timer callback as well. Peter ? > > > > calc_global_load() wants to be called on just one cpu, do we have a > > better place for that? > > Well, we can call it from a timer from a single CPU. Right that would work I guess.