Re: Avoiding OOM on overcommit...?

From: Richard Gooch (rgooch@ras.ucalgary.ca)
Date: Sun Mar 26 2000 - 18:56:59 EST


Linda Walsh writes:
> David Whysong wrote:
> > If you run out of a resource, the system should not crash. The kernel just
> > has to free up the resource. A convenient way of doing that is to kill a
> > user process.
>
> Then you have violated the integrity of the user-process
> space. Tell me, which processes are killed when the system runs out
> file descriptors? How about processes? Disk space? Why are you
> treating memory differently?

Because it's different (read harder)? I still haven't seen a
description of how we handle stack exhaustion properly. All we can do
there is kill the offending process.

                                Regards,

                                        Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

-
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/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:18 EST