Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755605AbXJXJxY (ORCPT ); Wed, 24 Oct 2007 05:53:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752808AbXJXJxQ (ORCPT ); Wed, 24 Oct 2007 05:53:16 -0400 Received: from E23SMTP01.au.ibm.com ([202.81.18.162]:55584 "EHLO e23smtp01.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752729AbXJXJxP (ORCPT ); Wed, 24 Oct 2007 05:53:15 -0400 Message-ID: <471F15D5.3050100@linux.vnet.ibm.com> Date: Wed, 24 Oct 2007 15:22:21 +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: Michael Neuling CC: paulus@samba.org, akpm@linux-foundation.org, linux390@de.ibm.com, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, linux-s390@vger.kernel.org Subject: Re: [PATCH] taskstats scaled time cleanup References: <8789.1193208897@neuling.org> In-Reply-To: <8789.1193208897@neuling.org> 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: 959 Lines: 28 Michael Neuling wrote: > This moves the ability to scale cputime into generic code. This > allows us to fix the issue in kernel/timer.c (noticed by Balbir) where > we could only add an unscaled value to the scaled utime/stime. > > This adds a cputime_to_scaled function. As before, the POWERPC > version does the scaling based on the last SPURR/PURR ratio > calculated. The generic and s390 (only other arch to implement > asm/cputime.h) versions are both NOPs. > > Also moves the SPURR and PURR snapshots closer. > > Signed-off-by: Michael Neuling Looks good to me Acked-by: Balbir Singh -- 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/