Re: [PATCH]O18.1int

From: Con Kolivas
Date: Mon Aug 25 2003 - 05:44:58 EST


On Mon, 25 Aug 2003 20:34, Måns Rullgård wrote:
> Con Kolivas <kernel@xxxxxxxxxxx> writes:
> >> > XEmacs still spins after running a background job like make or grep.
> >> > It's fine if I reverse patch-O16.2-O16.3. The spinning doesn't happen
> >> > as often, or as long time as with O16.3, but it's there and it's
> >> > irritating.
> >>
> >> another example is RXVT (an X terminal emulator). Starts spinnig after
> >> it's child has exited. Not always, but annoyingly often. System is
> >> almost locked while it spins (calling select).
> >
> > What does vanilla kernel do with these apps running? Both immediately
> > after the apps have started up and some time (>1 min) after they've been
> > running?
>
> Vanilla test1 has the spin effect. Test2 doesn't. I haven't tried
> vanilla test3 or test4. As I've said, the O16.2-O16.3 patch
> introduced the problem. With that patch reversed, everything is
> fine. What problem does that patch fix?

It's a generic fix for priority inversion but it induces badness in smp, and
latency in task preemption on up so it's not suitable.

Con

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/