On Fri, Mar 31, 2000 at 07:53:03PM +0200, Florian Lohoff wrote:
> On Fri, Mar 31, 2000 at 03:15:55PM +0200, Ralf Baechle wrote:
> > I just found another brainfart in the libc / kernel interface. In the
> > believe libc wouldn't use the pause(2) syscall any longer I removed it.
> > This makes a number of programs like screen burn all CPU they can get.
> > I'll provide two fixes, one to libc and a second for the kernel and
> > either one will be sufficient.
>
> Could this also be the cause of "top" refreshing the screen as fast
> as it can ? I noticed that when i rebuild the debian procps package
> and tried top ... It then consumes the cpu it gets ...
I haven't tried myself but sounds very probable. The sympthon is that
an strace will show large numbers of pause(2) syscalls which all return
with -ENOSYS as error.
Ralf