nohz: stat: Fix CPU idle time accounting Since cpustat[CPUTIME_IDLE] is never connected to ts->idle_sleeptime,# Please enter the commit message for your changes. Lines starting never read from cpustat[CPUTIME_IDLE] when reporting stats in# with '#' will be ignored, and an empty message aborts the commit. /proc/stat.# On branch my-tw-4.4 Note this was rejected by Michal Hocko when it was initially proposed# (use "git reset HEAD <file>..." to unstage) by Martin Schwidefsky in LKML, so if you want to upstream it, better# find an alternative (either completely disable cpustat[CPUTIME_IDLE]# modified: kernel/time/tick-sched.c for CONFIG_NO_HZ or somehow connect them to keep them in sync.)# bug 1190321 Change-Id: Idc92488910b826aff850a010016d8326c7ab9e6c Signed-off-by: Bo Yan <byan@nvidia.com> Reviewed-on: http://git-master/r/214638 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Liang Cheng (SW) <licheng@nvidia.com> Tested-by: Liang Cheng (SW) <licheng@nvidia.com>
Kernel 2.8