Re: must-fix list for 2.6.0

Robert Love (rml@tech9.net)
30 Apr 2003 20:09:13 -0400


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/