From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755845Ab2FNLMx (ORCPT ); Thu, 14 Jun 2012 07:12:53 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:64242 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755571Ab2FNLMv (ORCPT ); Thu, 14 Jun 2012 07:12:51 -0400 Date: Thu, 14 Jun 2012 13:12:46 +0200 From: Frederic Weisbecker To: Peter Zijlstra Cc: Ingo Molnar , 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: <20120614111241.GA16848@somewhere> References: <1339604397-8758-1-git-send-email-fweisbec@gmail.com> <1339664829.2559.14.camel@twins> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1339664829.2559.14.camel@twins> 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 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.