From: Ben Segall Date: Wed, 16 Oct 2013 18:16:17 +0000 (-0700) Subject: sched: Fix cfs_bandwidth misuse of hrtimer_expires_remaining X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~40^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db06e78cc13d70f10877e0557becc88ab3ad2be8;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra 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 --- Reading git-diff-tree failed