Re: VM subsystem bug in 2.4.0 ?

Rik van Riel
2001-01-08T18:01:35Z

On Mon, 8 Jan 2001, Sergey E. Volkov wrote:

> I have a problem with 2.4.0
>
> I'm testing Informix IIF-2000 database server running on dual
> Intel Pentium II - 233. When I run 'make -j30 bzImage' in the
> kernel source, my Linux box hangs without any messages.

> Informix allocate about to 50% of memory as LOCKED shared memory
> segments. I'm thinking the reason in this. Kernel wants, but
> can't to swap out locked shm's segments.

You are right. I have seen this bug before with the kernel
moving unswappable pages from the active list to the
inactive_dirty list and back.

We need a check in deactivate_page() to prevent the kernel
from moving pages from locked shared memory segments to the
inactive_dirty list.

Christoph? Linus?

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://www.conectiva.com/ http://distro.conectiva.com.br/