Re: VM in 2.2.17pre9 : a success ?

From: Willy Tarreau (willy@novworld.Novecom.Fr)
Date: Tue Jul 04 2000 - 01:48:07 EST


> OK, I just uploaded it to http://www.surriel.com/patches/

Hi Rik,

I've just tested your patch on 2.2.17pre9 + andrea's GFP-race-fix-3.
It seems smart about which process to kill, and I can no longer hang my
system with mmap. I even tried several simultaneous mmap + malloc (hang
guaranted without the patch). I saw cool messages about mmap and malloc being
killed, preserving other processes such as syslogd and init.

Although I'm not for killing hungry processes, I think in this case this is
better than letting all the system die (or at least hang for hours). But I
don't know what this will lead to for daemons which use lots of mmaps.

BTW, I've noticed on your page an old patch related to mmap pages aging. What
was it intended to fix ? Could this help in the case of the MMAP_SHARED
problem ?

regards,

Willy

-
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/



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:14 EST