diff options
| author | Ben Segall <[email protected]> | 2013-10-16 18:16:17 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2013-10-29 11:02:20 +0000 |
| commit | db06e78cc13d70f10877e0557becc88ab3ad2be8 (patch) | |
| tree | 867b99d17a5df49fc4c413940a99e6209e81e7a7 /lib/spinlock_debug.c | |
| parent | sched: Fix race on toggling cfs_bandwidth_used (diff) | |
| download | kernel-db06e78cc13d70f10877e0557becc88ab3ad2be8.tar.gz kernel-db06e78cc13d70f10877e0557becc88ab3ad2be8.zip | |
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 <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/20131016181617.22647.73829.stgit@sword-of-the-dawn.mtv.corp.google.com
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions
