From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758608Ab0JHPIR (ORCPT ); Fri, 8 Oct 2010 11:08:17 -0400 Received: from mtagate2.de.ibm.com ([195.212.17.162]:54421 "EHLO mtagate2.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754026Ab0JHPIQ (ORCPT ); Fri, 8 Oct 2010 11:08:16 -0400 Subject: Re: [RFC][PATCH 01/10] taskstats: Use real microsecond granularity for CPU times From: Michael Holzheu Reply-To: holzheu@linux.vnet.ibm.com To: balbir@linux.vnet.ibm.com Cc: Shailabh Nagar , Andrew Morton , Venkatesh Pallipadi , Peter Zijlstra , Suresh Siddha , John stultz , Thomas Gleixner , Oleg Nesterov , Ingo Molnar , Heiko Carstens , Martin Schwidefsky , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20101007050820.GP4195@balbir.in.ibm.com> References: <1285249681.1837.28.camel@holzheu-laptop> <1285250452.1837.78.camel@holzheu-laptop> <20101007050820.GP4195@balbir.in.ibm.com> Content-Type: text/plain; charset="us-ascii" Organization: IBM Date: Fri, 08 Oct 2010 17:08:12 +0200 Message-ID: <1286550492.1958.0.camel@holzheu-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2010-10-07 at 10:38 +0530, Balbir Singh wrote: > * Michael Holzheu [2010-09-23 16:00:52]: > > > Subject: [PATCH] taskstats: Use real microsecond granularity for CPU times > > > > From: Michael Holzheu > > > > The taskstats interface uses microsecond granularity for the user and > > system time values. The conversion from cputime to the taskstats values > > uses the cputime_to_msecs primitive which effectively limits the > > granularity to milliseconds. Add the cputime_to_usecs primitive for > > architectures that have better, more precise CPU time values. Remove > > cputime_to_msecs primitive because there is no more user left. > > > > Signed-off-by: Michael Holzheu > > Looks good to me. Can I take that as an Acked-by? Michael