Re: [v5, 1/3] powerpc/time: isolate scaled cputime accounting in dedicated functions.

2018-10-22 Thread Michael Ellerman
On Thu, 2018-08-02 at 07:53:57 UTC, Christophe Leroy wrote: > scaled cputime is only meaningfull when the processor has > SPURR and/or PURR, which means only on PPC64. > > In preparation of the following patch that will remove > CONFIG_ARCH_HAS_SCALED_CPUTIME on PPC32, this patch moves > all scale

[PATCH v5 1/3] powerpc/time: isolate scaled cputime accounting in dedicated functions.

2018-08-02 Thread Christophe Leroy
scaled cputime is only meaningfull when the processor has SPURR and/or PURR, which means only on PPC64. In preparation of the following patch that will remove CONFIG_ARCH_HAS_SCALED_CPUTIME on PPC32, this patch moves all scaled cputing accounting logic into dedicated functions. This patch doesn't