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
Matt Agler <matagl@sypher.com> writes:

> Actually, after looking at the init manpage, we don't need another
> deamon. We've got init. There could be a new action called, say, nomem
> to go right alongside powerfail and ctrlaltdel. While the kernel is
> putting things to sleep to get the system under control, it could signal
> init to run the nomem action for the current runlevel.
>
> This sounds very simple, elegant and configurable to me.

I like this, my worry would be that you would need to have
enough memory to spawn the process. perhaps there could
be some special fork/whatever set aside which grabs memory
from a system hidey-hole rather than from the (now abused) swap.

-- craig



-------------------------------------------------------------------------------
Craig I. Hagan "It's a small world, but I wouldn't want to back it up"
hagan(at)cih.com "True hackers don't die, their ttl expires"
"It takes a village to raise an idiot, but an idiot can raze a village"
Stop the spread of spam, use a sendmail condom!
http://www.cih.com/~hagan/smtpd-hacks

In Bandwidth we trust

-
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    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site