Re: [PATCH] oom_pardon, aka don't kill my xlock

Marcelo Tosatti
2004-09-27T12:25:19Z

On Fri, Sep 24, 2004 at 10:15:51PM +0100, Alan Cox wrote:
> On Gwe, 2004-09-24 at 20:58, Thomas Habets wrote:
> > And also, I'd like to see how a misbehaving airline passenger could start to
> > gain weight not originally on the plane, causing the flight attendants to
> > start executing people because of OOF. And IIRC most airlines don't like
> > having women onboard who are way too pregnant, so no forking either.
>
> The zero over commit code makes sure that we have enough swap/memory for
> fillable address space. It means the application will always be told
> when it takes an action that it cannot do it, rather than finding out
> later and being killed.

BTW,I think a lot of applications do not gracefully handle -ENOMEM?

I suppose most of them just fail and bailout with -ENOMEM.

No?