Re: [discussion] Swap overcommitment recovery

Horst von Brand (vonbrand@inf.utfsm.cl)
Wed, 19 Aug 1998 15:46:15 -0400


Rik van Riel <H.H.vanRiel@phys.uu.nl> said:
> 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...

then I start 2 of those, and synchronize them... or make it fork(2) now
and then if I just want to crash your machine.

-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

- 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