diff options
author | Peter Zijlstra | 2015-06-11 14:46:45 +0200 |
---|---|---|
committer | Thomas Gleixner | 2015-06-19 00:09:56 +0200 |
commit | 8edfb0362e8e52dec2de08fa163af01c9da2c9d0 (patch) | |
tree | 5f607cf35b8c625695eb7cc3d357432f733185fa /fs/dcache.c | |
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 <oleg@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: ktkhai@parallels.com
Cc: rostedt@goodmis.org
Cc: juri.lelli@gmail.com
Cc: pang.xunlei@linaro.org
Cc: wanpeng.li@linux.intel.com
Cc: umgwanakikbuti@gmail.com
Link: http://lkml.kernel.org/r/20150611124743.175989138@infradead.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions