sched: Fix HRTICK
authorPeter Zijlstra <peterz@infradead.org>
Fri, 28 Jun 2013 09:18:53 +0000 (11:18 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 12 Jul 2013 11:52:58 +0000 (13:52 +0200)
commit971ee28cbd1ccd87b3164facd9359a534c1d2892
treed5d9bcbe6f9c8cb5da70e305b25eefc3e1a25008
parent9903883f1dd6e86f286b7bfa6e4b423f98c1cd9e
sched: Fix HRTICK

David reported that the HRTICK sched feature was borken; which was enough
motivation for me to finally fix it ;-)

We should not allow hrtimer code to do softirq wakeups while holding scheduler
locks. The hrtimer code only needs this when we accidentally try to program an
expired time. We don't much care about those anyway since we have the regular
tick to fall back to.

Reported-by: David Ahern <dsahern@gmail.com>
Tested-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20130628091853.GE29209@dyad.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c