Re: [PATCH 2/3] cpufreq: schedutil: move slow path from workqueue to SCHED_FIFO task

From: Viresh Kumar
Date: Mon Nov 14 2016 - 05:23:45 EST


On 14-11-16, 10:22, Peter Zijlstra wrote:
> Any static prio value is wrong (static prio assignment requires system
> knowledge that the kernel doesn't and cannot have), 50 is what threaded
> IRQs default too as well IIRC, so it would at least be consistent with
> that.

Yes you are correct and I have found a better way of defining the
priority in this case using that code instead of magic figure 50.

MAX_USER_RT_PRIO/2 :)

--
viresh