Re: Netscape broken with 2.2.0-pre7

Andi Kleen (ak@muc.de)
Sun, 17 Jan 1999 19:36:43 +0100


On Sun, Jan 17, 1999 at 06:39:24PM +0100, Jamie Lokier wrote:
> > > The bug occurs much less often when I run netscape under `strace -tt -o
> > > log', though it still occurs eventually. `strace -o log' is not so
> > > effective. The is also some interaction with the X server, because if I
> > > don't move the mouse (at all) or type anything after Netscape locks, it
> > > recovers after about a second.
> >
> > Not surprising, strace changes signal timing.
>
> It doesn't look like a signal thing so much as an abuse of a pipe. It's
> pretty clear Netscape _could_ use an internal circular buffer instead of
> an OS pipe. Then again, maybe that would just add to the many memory
> leaks :-)

It can't. You can't poll a circular buffer in a select/poll. That is why
the self pipe trick is often used to pass information from signal handlers
to the main loop.

> (I would like to know why the 50ms itimer is ticking every 70ms, too).

Scheduling changes?

-Andi

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