Re: [discussion] Swap overcommitment recovery

Rik van Riel (H.H.vanRiel@phys.uu.nl)
Wed, 19 Aug 1998 06:15:01 +0200 (CEST)


On Tue, 18 Aug 1998, Horst von Brand wrote:
> Rik van Riel <H.H.vanRiel@phys.uu.nl> said:
>
> > Sending SIGDANGER is a good idea. Not killing programs with
> > a SIGDANGER handler is, IMNSHO, a bad idea. We could give programs
> > which clean up 'on their own' a large bonus though (2x or 4x
> > less 'kill points').
>
> OK, so a program does:
>
> for(;;) {
> malloc(3Mb);
> free(2Mb);
> }
>
> to save itself from being killed...

Unfortunately (for the program) this won't work as soon as
the size of this program exceeds the size of the second-largest
program by a factor of 2...

Rik.
+-------------------------------------------------------------------+
| Linux memory management tour guide. H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+

-
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.altern.org/andrebalsa/doc/lkml-faq.html