Re: [PATCH]O18.1int

Con Kolivas
2003-08-25T10:43:38Z

On Mon, 25 Aug 2003 20:34, Måns Rullgård wrote:
> Con Kolivas <kernel@kolivas.org> 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