diff options
| author | Steve Muckle <smuckle@codeaurora.org> | 2014-11-30 15:33:52 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:01:08 -0700 |
| commit | 4006da6ec4666e8e2f8d590564a04da26a534860 (patch) | |
| tree | 3a6a837b885dbd5def7611a02f19f0b6786f8021 /include/linux/sched | |
| parent | 3b5eac8886638fb36aad5052828251712b5d3e1d (diff) | |
sched: refresh sched_clock() after acquiring rq lock in irq path
The wallclock time passed to sched_account_irqtime() may be stale
after we wait to acquire the runqueue lock. This could cause problems
in update_task_ravg because a different CPU may have advanced
this CPU's window_start based on a more up-to-date wallclock value,
triggering a BUG_ON(window_start > wallclock).
Change-Id: I316af62d1716e9b59c4a2898a2d9b44d6c7a75d8
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
Diffstat (limited to 'include/linux/sched')
0 files changed, 0 insertions, 0 deletions
