diff options
| author | Mike Galbraith <[email protected]> | 2014-06-24 07:49:40 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2014-07-05 11:17:30 +0200 |
| commit | 4036ac1567834222fc763ab18e3e17df93b4eaaf (patch) | |
| tree | e5063b46415b169fbfa3895d5faa4008f003f402 /tools/perf/scripts/python | |
| parent | c06f04c70489b9deea3212af8375e2f0c2f0b184 (diff) | |
sched: Fix clock_gettime(CLOCK_[PROCESS/THREAD]_CPUTIME_ID) monotonicity
If a task has been dequeued, it has been accounted. Do not project
cycles that may or may not ever be accounted to a dequeued task, as
that may make clock_gettime() both inaccurate and non-monotonic.
Protect update_rq_clock() from slight TSC skew while at it.
Signed-off-by: Mike Galbraith <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Linus Torvalds <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions