lkml.org 
[lkml]   [2014]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/6] cputime: Default implementation of nsecs -> cputime conversion
On 03/06/2014 12:56 PM, Frederic Weisbecker wrote:
> The architectures that override cputime_t (s390, ppc) don't provide
> any version of nsecs_to_cputime(). Indeed this cputime_t implementation
> by backend only happens when CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y under
> which the core code doesn't make any use of nsecs_to_cputime().
>
> At least for now.
>
> We are going to make a broader use of it so lets provide a default
> version with a per usecs granularity. It should be good enough for most
> usecases.
>
> Cc: Ingo Molnar <mingo@kernel.org>
> Cc: Marcelo Tosatti <mtosatti@redhat.com>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>

Acked-by: Rik van Riel <riel@redhat.com>



\
 
 \ /
  Last update: 2014-03-06 21:41    [W:0.132 / U:1.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site