lkml.org 
[lkml]   [2000]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Avoiding OOM on overcommit...?


> And in the real world you realise
>
> o Processes get terminated by lots of unusual events not just out of
> memory - everything from fire to the office cat.
> o Systems as a whole therefore have to be robust to this anyway
> o There is an implicit unchecked memory allocation in normal C - stack
> pages. So a stack page OOM will kill you anyway (forget calling a
> function to report it, you have nothing to report it on)

The process isn't just killed. It dumps core (the default behavior of
receiving SIGSEGV according to signal(7)). Which is icing on the cake
here.

Brian



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

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:1.578 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site