diff options
author | Peter Zijlstra <[email protected]> | 2015-06-11 14:46:45 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2015-06-19 00:09:56 +0200 |
commit | 8edfb0362e8e52dec2de08fa163af01c9da2c9d0 (patch) | |
tree | 5f607cf35b8c625695eb7cc3d357432f733185fa /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | c04dca02bc73096435a5c36efd5ccb2171edcbe1 (diff) |
hrtimer: Fix hrtimer_is_queued() hole
A queued hrtimer that gets restarted (hrtimer_start*() while
hrtimer_is_queued()) will briefly appear as unqueued/inactive, even
though the timer has always been active, we just moved it.
Close this hole by preserving timer->state in
hrtimer_start_range_ns()'s remove_hrtimer() call.
Reported-by: Oleg Nesterov <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions