Re: Out Of Memory in v. 2.1

Stefan Monnier (monnier+lists/linux/kernel/news/@TEQUILA.SYSTEMSZ.CS.YALE.EDU)
05 Oct 1998 16:30:23 -0400


>>>>> "Albert" == Albert D Cahalan <acahalan@cs.uml.edu> writes:
> Overcommit tracking must be system_wide, but it doesn't need
> to apply to all processes. If data for all processes is kept,

Choosing overcommitment on a per-process basis sounds like a good idea (though
probably painful to setup since you'd have to specify process by process, but
you could probably have a default of overcommit==(! user==root)).

Turning off overcommitment doesn't save you from figuring out what to do when
you run out of memory (return NULL from malloc is very nice, but if this malloc
was executed by /sbin/init, it might not be such a good idea).

Stefan

-
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.tux.org/lkml/