diff options
author | Ben Segall <bsegall@google.com> | 2013-10-16 11:16:17 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-10-29 12:02:20 +0100 |
commit | db06e78cc13d70f10877e0557becc88ab3ad2be8 (patch) | |
tree | 867b99d17a5df49fc4c413940a99e6209e81e7a7 /samples/seccomp/bpf-fancy.c | |
parent | 1ee14e6c8cddeeb8a490d7b54cd9016e4bb900b4 (diff) |
sched: Fix cfs_bandwidth misuse of hrtimer_expires_remaining
hrtimer_expires_remaining does not take internal hrtimer locks and thus
must be guarded against concurrent __hrtimer_start_range_ns (but
returning HRTIMER_RESTART is safe). Use cfs_b->lock to make it safe.
Signed-off-by: Ben Segall <bsegall@google.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: pjt@google.com
Link: http://lkml.kernel.org/r/20131016181617.22647.73829.stgit@sword-of-the-dawn.mtv.corp.google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'samples/seccomp/bpf-fancy.c')
0 files changed, 0 insertions, 0 deletions