Re: [PATCH] powerpc: fix wrong divisor in usecs_to_cputime

2011-12-09 Thread Anton Blanchard
Hi Andreas, > There is no user of usecs_to_cputime before 3.2-rc1, so it wouldn't > have any effect for older versions. Great, that explains why I only noticed it last week :) Anton ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://l

Re: [PATCH] powerpc: fix wrong divisor in usecs_to_cputime

2011-12-09 Thread Andreas Schwab
Anton Blanchard writes: > Hi Andreas, > >> Commit d57af9b (taskstats: use real microsecond granularity for CPU >> times) renamed msecs_to_cputime to usecs_to_cputime, but failed to >> update all numbers on the way. This causes nonsensical cpu >> idle/iowait values to be displayed in /proc/stat (

Re: [PATCH] powerpc: fix wrong divisor in usecs_to_cputime

2011-12-09 Thread Anton Blanchard
Hi Andreas, > Commit d57af9b (taskstats: use real microsecond granularity for CPU > times) renamed msecs_to_cputime to usecs_to_cputime, but failed to > update all numbers on the way. This causes nonsensical cpu > idle/iowait values to be displayed in /proc/stat (the only user of > usecs_to_cputi