On 24/05/15 13:42, Robert Millan wrote:
Hi!
Please consider attached patch:
Implement kpreempt_disable() on Linux by setting the scheduler to
SCHED_FIFO
This seems to be the closest to no-preemption that unpatched Linux
can offer.
For details see:
http://linux.die.net/man/2/sched_setscheduler
Note: I suspect it might need #ifdef __linux__ wrap, but I'm not sure as
the
interface is quite POSIXy. Anyone feel like testing?
Can you briefly explain what problem this patch is intending to solve?
I'm not sure I understand why you want it.
In any case, changing the rumpuser interface is not acceptable, since it
screws all who implement that interface, including 3rd parties, so we'll
have to find some other way to solve your problem.