Re: VM in 2.4.7-pre hurts...

Rik van Riel
2001-07-08T18:24:30Z

On Sun, 8 Jul 2001, Linus Torvalds wrote:
> On Sun, 8 Jul 2001, Rik van Riel wrote:
> >
> > ... Bingo. You hit the infamous __wait_on_buffer / ___wait_on_page
> > bug. I've seen this for quite a while now on our quad xeon test
> > machine, with some kernel versions it can be reproduced in minutes,
> > with others it won't trigger at all.
>
> Hmm.. That would explain why the "tar" gets stuck, but why does the whole
> machine grind to a halt with all other processes being marked runnable?

If __wait_on_buffer and ___wait_on_page get stuck, this could
mean a page doesn't get unlocked. When this is happening, we
may well be running into a dozens of pages which aren't getting
properly unlocked on IO completion.

This in turn would get the rest of the system stuck in the
pageout code path, eating CPU like crazy.

regards,

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/ http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)