Re: tmpfs and the OOM killer

From: Pedro
Date: Thu Apr 12 2007 - 10:37:08 EST


On Thursday 12 April 2007 08:25, Theodore Tso wrote:
> likely going to be in deep trouble anyway. Even if you disable the
> OOM killer, now random malloc()'s will start returning NULL because
> your system doesn't have enough memory. Do you have intelligent error
> handling and recovery mechanisms for every single malloc() failure?

When malloc return NULL, the process may tell the user ENOMEM.
When OOM kill the process, the user claim the program sometimes die.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/