Re: OOM killer

Jesper Juhl (juhl@eisenstein.dk)
Wed, 26 Sep 2001 19:11:03 +0200


Thomas Hood wrote:

> How about assigning each process a property similar to its niceness
> which would be used to decide which process to kill in the event of
> OOM?

Or maybe make it a configure option if Linux should over commit memory or
not.
In some cases it would be nice if you could be sure that the memory you got
was actually there, and for those cases you could build the kernel with
CONFIG_NO_MEM_OVERCOMMIT (or something like that) so that linux would simply
report ENOMEM when there's no more memory.

Best regards,
Jesper Juhl
juhl@eisenstein.dk

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/