lkml.org 
[lkml]   [1998]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: A true story of a crash.
From
Date
In article <m0z88Qk-000aNHC@the-village.bc.nu>,
alan@lxorguk.ukuu.org.uk (Alan Cox) writes:
>> What if, instead of immediately sending SIGKILL, it sent a gradually
>> escalating series of signals, accompanied by suitable printk()s, over a
>> period of a few tens of seconds (stopping the process if enough memory
>> were freed), with SIGKILL only as a last resort?

> On both out of memory and stack limit exceeded you can only send SIGKILL
> Think about what happens if you need to allocate a page of user stack..

If the user set an alternate signal stack with sigaltstack() then you can
send something else (except for out of physical memory when there is no
chance to swap the potentially swapped out signal stack page in, but
if that happens there is not much the kernel can do anyways)

-Andi



-
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.altern.org/andrebalsa/doc/lkml-faq.html

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