Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756331AbXKCQsS (ORCPT ); Sat, 3 Nov 2007 12:48:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754710AbXKCQsK (ORCPT ); Sat, 3 Nov 2007 12:48:10 -0400 Received: from e35.co.us.ibm.com ([32.97.110.153]:32954 "EHLO e35.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754429AbXKCQsJ (ORCPT ); Sat, 3 Nov 2007 12:48:09 -0400 Message-ID: <472CA62D.8050205@linux.vnet.ibm.com> Date: Sat, 03 Nov 2007 22:17:41 +0530 From: Balbir Singh Reply-To: balbir@linux.vnet.ibm.com Organization: IBM User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: Paul Mackerras 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 References: <18218.44089.274628.680088@cargo.ozlabs.ibm.com> <661de9470711030202x24d0186cuc96a70156ecfa23f@mail.gmail.com> <18220.24362.604297.53633@cargo.ozlabs.ibm.com> In-Reply-To: <18220.24362.604297.53633@cargo.ozlabs.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 914 Lines: 28 Paul Mackerras wrote: > 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. I looked at the diff's and could just see the reversal of scaled accounting. I looked at account_process_vtime(), now account_process_tick() and things seem fine. I was mislead by the diff. -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL - 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/