Re: [RFC -v3 PATCH 2/3] sched: add yield_to function

KOSAKI Motohiro
2011-01-05T03:17:02Z

> NAK NAK NAK, yield_to is utter crap, and the only reason kvm 'needs' it
> is because its wants to be utter crap (run unmodified guests).
>
> There is plenty of sane serialization primitives for userspace, fix your
> locking mess instead of pushing crap.
>
> The only reason I'm maybe half-way considering this is because its a
> pure in-kernel interface which we can 'fix' once unmodified guests
> aren't important anymore.

KVM also have slow and inefficient mecanism. Userspace have a lot of
slow primitives too.

But okey, I'm withdraw this claim even though I disagree userspace have
plenty of sane serialization. It's offtopic and we need more discuss
at proper place.

Thanks.