On Wed, 2011-04-06 at 16:04 +0800, Peter Zijlstra wrote:On Wed, 2011-04-06 at 06:33 +0800, Alex Shi wrote:
You do know that any app that relies on sched_yield behaviour is more
than broken? Using sched_yield() for anything other than SCHED_FIFO
tasks is well outside spec.
Furthermore, apparently you used sysctl_sched_compat_yield, which was
bound to disappear some time, since with the default settings the yield
semantics didn't actually change.
Yes, I used sched_compat_yield, otherwise volano will become extremely
slow in my single machine testing. We may reconsider our testing
setting.