Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e4e2bf3e authored by Sai Gurrappadi's avatar Sai Gurrappadi Committed by Swetha Chikkaboraiah
Browse files

tick: Don't clear idle and iowait sums on CPU down



NOHZ related per-cpu data is cleared on CPU down. This was introduced by
4b0c0f29 "tick: Cleanup NOHZ per cpu data on cpu down" which breaks
/proc/stats because the idle and iowait sums are now non-monotonic
across a CPU down/up cycle.

Fix this by not clearing the idle_sleeptime and iowait_sleeptime fields
on CPU down.

Change-Id: Ifb755e15b601c74dad81655ebb25e037dac2afd0
Signed-off-by: default avatarSai Gurrappadi <sgurrappadi@nvidia.com>
Signed-off-by: default avatarPeter De Schrijver <pdeschrijver@nvidia.com>
Patch-mainline: linux-kernel @ 30 Apr 2014 13:18:34
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: default avatarSwetha Chikkaboraiah <schikk@codeaurora.org>
parent e903a4b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment