Thread (15 messages) read the whole thread 15 messages, 6 authors, 2016-11-09

Re: [PATCH 3/4] cputime/powerpc/s390: make scaled cputime arch specific

From: Stanislaw Gruszka <hidden>
Date: 2016-11-02 09:39:43
Also in: linux-s390, lkml

On Wed, Nov 02, 2016 at 10:11:22AM +0100, Christian Borntraeger wrote:
On 10/31/2016 01:36 PM, Stanislaw Gruszka wrote:
quoted
Only s390 and powerpc have hardware facilities allowing to measure
cputimes scaled by frequency. On all other architectures
utimescaled/stimescaled are equal to utime/stime (however they are
accounted separately).

Patch remove {u,s}timescaled accounting on all architectures except
powerpc and s390, where those values are explicitly accounted on proper
places.
If we remove it everywhere else (and assuming that there are no users then)
I aks myself if we should remove this as well from s390.
There is one user of scaled cputimes values, it is taskstats (to users
space are exported ac_utimescaled, ac_stimescaled and
cpu_scaled_run_real_total which is calculated based on scaled times).
However on other than powerpc and s390 architectures scaled times are
equal to normal times (this is also true for older powerpc's without
SPURR/PURR registers).

Stanislaw
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help