On Wed, 2003-04-30 at 19:47, viro@parcelfarce.linux.theplanet.co.uk
wrote:
> Excuse me, but WTF do they spin on the sched_yield() in the first place?
> _That_ sounds like utterly broken...
I agree it is broken, but it was considered a method of implementing
user-space locking for a long time..
The problem is in LinuxThreads mostly, I guess, according to Andrew.
But the big offender we hear about ten times a day is Open Office, which
calls sched_yield() after a lot of GUI operations, seemingly in the name
of interactivity. It is busted and Red Hat shipped a yield-less Open
Office in RH9 which works fine.
Robert Love
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:37 EST