From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753251Ab0JGFI3 (ORCPT ); Thu, 7 Oct 2010 01:08:29 -0400 Received: from e1.ny.us.ibm.com ([32.97.182.141]:52670 "EHLO e1.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752219Ab0JGFI1 (ORCPT ); Thu, 7 Oct 2010 01:08:27 -0400 Date: Thu, 7 Oct 2010 10:38:20 +0530 From: Balbir Singh To: Michael Holzheu 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 Subject: Re: [RFC][PATCH 01/10] taskstats: Use real microsecond granularity for CPU times Message-ID: <20101007050820.GP4195@balbir.in.ibm.com> Reply-To: balbir@linux.vnet.ibm.com References: <1285249681.1837.28.camel@holzheu-laptop> <1285250452.1837.78.camel@holzheu-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1285250452.1837.78.camel@holzheu-laptop> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * 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. -- Three Cheers, Balbir