Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760630AbXKCJDR (ORCPT ); Sat, 3 Nov 2007 05:03:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757333AbXKCJDF (ORCPT ); Sat, 3 Nov 2007 05:03:05 -0400 Received: from wa-out-1112.google.com ([209.85.146.179]:39692 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757325AbXKCJDD (ORCPT ); Sat, 3 Nov 2007 05:03:03 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=YHNtU7dylx1KOu3VBgWNpGdj9B3qKpU5tnAf0aULsrnpurgcnpAxTOv+LkizBSLsiTe02yW3YSX0rmqiPdPooVwOaWCfDtLs4HSkb1mnWsIL3MIBwLt1enLfatbKELjSp9tpMYCTBvrGknyi8m1WY944/KQAeDo7l/WrUVT5uG8= Message-ID: <661de9470711030202x24d0186cuc96a70156ecfa23f@mail.gmail.com> Date: Sat, 3 Nov 2007 14:32:59 +0530 From: "Balbir Singh" To: "Paul Mackerras" Subject: Re: [PATCH] Restore deterministic CPU accounting on powerpc Cc: "Ingo Molnar" , "Peter Zijlstra" , "Thomas Gleixner" , "Martin Schwidefsky" , "Christian Borntraeger" , linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org In-Reply-To: <18218.44089.274628.680088@cargo.ozlabs.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <18218.44089.274628.680088@cargo.ozlabs.ibm.com> X-Google-Sender-Auth: 37ee135d273c4587 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 834 Lines: 25 > +#ifndef CONFIG_VIRT_CPU_ACCOUNTING > +void account_process_tick(int user_tick) > +{ > + if (user_tick) { > + account_user_time(p, jiffies_to_cputime(1)); > + account_user_time_scaled(p, jiffies_to_cputime(1)); > + } else { > + account_system_time(p, HARDIRQ_OFFSET, jiffies_to_cputime(1)); > + account_system_time_scaled(p, jiffies_to_cputime(1)); > + } > +} > +#endif > + Hi, Paul, So, scaled accounting will not be available if CONFIG_VIRT_CPU_ACCOUNTING is defined? Am I reading this correctly Balbir Singh - 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/