Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754718AbXKCMJs (ORCPT ); Sat, 3 Nov 2007 08:09:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753434AbXKCMJ3 (ORCPT ); Sat, 3 Nov 2007 08:09:29 -0400 Received: from ozlabs.org ([203.10.76.45]:54743 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753199AbXKCMJ2 (ORCPT ); Sat, 3 Nov 2007 08:09:28 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18220.24362.604297.53633@cargo.ozlabs.ibm.com> Date: Sat, 3 Nov 2007 22:44:42 +1100 From: Paul Mackerras To: "Balbir Singh" Cc: "Ingo Molnar" , "Peter Zijlstra" , "Thomas Gleixner" , "Martin Schwidefsky" , "Christian Borntraeger" , linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org Subject: Re: [PATCH] Restore deterministic CPU accounting on powerpc In-Reply-To: <661de9470711030202x24d0186cuc96a70156ecfa23f@mail.gmail.com> References: <18218.44089.274628.680088@cargo.ozlabs.ibm.com> <661de9470711030202x24d0186cuc96a70156ecfa23f@mail.gmail.com> X-Mailer: VM 7.19 under Emacs 21.4.1 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 611 Lines: 16 Balbir Singh writes: > So, scaled accounting will not be available if > CONFIG_VIRT_CPU_ACCOUNTING is defined? Am I reading this correctly No, what makes you think that? If VIRT_CPU_ACCOUNTING=y it is the responsibility of the arch's account_process_tick to update the scaled stats. And the powerpc version does that by calling account_user_time_scaled(). Paul. - 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/