Agreed. But in your patch I saw some that appears to re-introduce a
bug I fixed some time ago. You were unconditionally setting
SCHED_YIELD in sched_yield(). I made it conditional in the first place
because POSIX.4 semantics were not being obeyed.
> > flawed. POSIX.4 states that RT processes will always run in preference
> > to SCHED_OTHER. A RT process which does sched_yield() *should not*
> > give up it's CPU to a SCHED_OTHER process.
>
> Agreed. With my patch a RT process will only yield to another RT
> process with the same or higher priority.
Are you positive? Can you send me the patch privately again (sorry, I
deleted it once I saw the bit I was worried about).
Regards,
Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/