Re: yield() in i2c non-happy paths hits BUG under -rt patch

Thomas Gleixner
2009-11-19T13:22:59Z

On Thu, 19 Nov 2009, Peter Zijlstra wrote:

> On Thu, 2009-11-19 at 14:11 +0100, Thomas Gleixner wrote:
> > > You say "NOOP by default", does this imply there is a way to change
> > > this?
> >
> > There is a sysctl: sysctl_sched_compat_yield
>
> This makes yield() place current behind all other tasks, and sucks too
> for some workloads.

yield() sucks anyway, so it depends which flavour of suckage you
prefer.

tglx