diff options
| author | Steve Muckle <smuckle@codeaurora.org> | 2014-10-22 12:46:58 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:00:55 -0700 |
| commit | 4edc997e12994f2b62bdfc1388cabc258654f990 (patch) | |
| tree | 2706447fb548c26ccfff50a98573afb17be44c9b /kernel/sched/debug.c | |
| parent | 98f89f00dc4fc76e67d707f895b1dd7166bc47b4 (diff) | |
sched: take rq lock prior to saving idle task's mark_start
When the idle task is being re-initialized during hotplug its
mark_start value must be retained. The runqueue lock must be
held when reading this value though to serialize this with
other CPUs that could update the idle task's window-based
statistics.
CRs-Fixed: 743991
Change-Id: I1bca092d9ebc32a808cea2b9fe890cd24dc868cd
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
Diffstat (limited to 'kernel/sched/debug.c')
0 files changed, 0 insertions, 0 deletions
