[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <471F15D5.3050100@linux.vnet.ibm.com>
Date: Wed, 24 Oct 2007 15:22:21 +0530
From: Balbir Singh <balbir@...ux.vnet.ibm.com>
To: Michael Neuling <mikey@...ling.org>
CC: paulus@...ba.org, akpm@...ux-foundation.org, linux390@...ibm.com,
linux-kernel@...r.kernel.org, linuxppc-dev@...abs.org,
linux-s390@...r.kernel.org
Subject: Re: [PATCH] taskstats scaled time cleanup
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 <mikey@...ling.org>
Looks good to me
Acked-by: Balbir Singh <balbir@...ux.vnet.ibm.com>
--
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists