Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755668Ab2FNLQ4 (ORCPT ); Thu, 14 Jun 2012 07:16:56 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:54076 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755261Ab2FNLQz (ORCPT ); Thu, 14 Jun 2012 07:16:55 -0400 Date: Thu, 14 Jun 2012 13:16:38 +0200 From: Ingo Molnar To: Frederic Weisbecker Cc: Peter Zijlstra , Thomas Gleixner , LKML , Alessio Igor Bogani , Andrew Morton , Avi Kivity , Chris Metcalf , Christoph Lameter , Daniel Lezcano , Geoff Levand , Gilad Ben Yossef , Hakan Akkan , Kevin Hilman , Max Krasnyansky , "Paul E. McKenney" , Stephen Hemminger , Steven Rostedt , Sven-Thorsten Dietrich , Martin Schwidefsky , Benjamin Herrenschmidt , "Luck,Tony" Subject: Re: [RFC GIT PULL] nohz: Basic cputime accounting for adaptive tickless Message-ID: <20120614111638.GA16676@gmail.com> References: <1339604397-8758-1-git-send-email-fweisbec@gmail.com> <1339664829.2559.14.camel@twins> <20120614111241.GA16848@somewhere> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120614111241.GA16848@somewhere> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1247 Lines: 37 * Frederic Weisbecker wrote: > On Thu, Jun 14, 2012 at 11:07:09AM +0200, Peter Zijlstra wrote: > > On Wed, 2012-06-13 at 18:19 +0200, Frederic Weisbecker wrote: > > > Ingo, Thomas, > > > > > > This starts the basic code that allow accounting of cputime spent tickless > > > outside idle, which is a first step to prepare for the adaptive nohz > > > infrastructure. > > > > > > I hope we can set a tree in -tip for that. If you're fine with it > > > this is pullable from: > > > > There's a number of architecture that already does fine grained > > user/kernel time accounting on syscall boundaries etc.. s390, powerpc > > and ia64. > > > > You're now adding a 3rd way of accounting user/kernel time.. I'm not > > much looking fwd to that.. > > You're right, I should have looked into CONFIG_VIRT_CPU_ACCOUNTING sooner > and see if I can reuse it. > > I'll try something with that. Maybe sanitize all the variants under a single set of wrappers/callbacks? Thanks, Ingo -- 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/