On Thu, Apr 21, 2016 at 04:42:13PM +0200, Peter Zijlstra wrote:
So I think that is indeed the right thing here. But looking at thisA little something like so perhaps; can anybody test?
function I think there's more problems with it.
It seems to assume that if there's FIFO tasks, those will run. This is
incorrect. The FIFO task can have a lower prio than an RR task, in which
case the RR task will run.
So the whole fifo_nr_running test seems misplaced, it should go after
the rr_nr_running tests. That is, only if !rr_nr_running, can we use
fifo_nr_running like this.