linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Gábor Lénárt" <lgb@viva.uti.hu>
To: linux-mm@kvack.org
Subject: Re: Discussion on my OOM killer API
Date: Fri, 27 Oct 2000 09:39:08 +0200	[thread overview]
Message-ID: <20001027093908.B17142@viva.uti.hu> (raw)
In-Reply-To: <Pine.LNX.4.10.10010270740040.11948-100000@dax.joh.cam.ac.uk>; from jas88@cam.ac.uk on Fri, Oct 27, 2000 at 07:46:31AM +0100

On Fri, Oct 27, 2000 at 07:46:31AM +0100, James Sutherland wrote:
> Yes, that should keep most people happy; better still, it could try other
> approaches before kill9: start shouting at the console when you're down to
> the last 25Mb, disable logins at 10Mb and start SIGTERMing things at 5,
> perhaps. Or maybe bring some "emergency" swapspace online and disable
> non-root logins. That way, if the sysadmin responds quickly enough, they
> can clear out whatever THEY think is causing a problem; if not, they'll
> arrive to find a fully working machine with a couple of people complaining
> about Netscape having crashed yet again, rather than an init-less
> machine!

Sure. Implementing user-space OOM killer is much better because you can
do everything you want to react for OOM case. In kernel it would be much
more difficult to maintain and finetune, IMHO. BTW, it almost the same.
If someone wants OOM API, SIGDANGER can be considered a "stupid API".
And yes, everything should be removed from kernel space which can be done
in user space easily (and don't open other thread on microkernels ;-)

- Gabor
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

  reply	other threads:[~2000-10-27  7:39 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20001019122331.H840@nightmaster.csn.tu-chemnitz.de>
2000-10-19 17:02 ` Rik van Riel
2000-10-26 20:47   ` Linus Torvalds
2000-10-26 21:16     ` Rik van Riel
2000-10-26 22:33       ` Mark Hahn
2000-10-26 23:58       ` James Sutherland
2000-10-27  0:10         ` Linus Torvalds
2000-10-27  6:46           ` James Sutherland
2000-10-27  7:39             ` Gábor Lénárt [this message]
2000-10-27 13:54               ` James Sutherland
2000-10-27 17:10         ` Ingo Oeser
2000-10-27 17:36           ` James Sutherland
2000-10-27 22:12             ` jfm2
2000-10-27 22:11               ` James Sutherland
2000-10-27 22:43                 ` jfm2
2000-10-27 22:51                   ` James Sutherland
2000-10-28  4:48                 ` Jeremy Fitzhardinge
2000-10-28  7:29                   ` James Sutherland
2000-10-30  9:02               ` G?bor L?n?rt
2000-10-30  9:41                 ` James Sutherland
2000-10-30  9:53                   ` G?bor L?n?rt
2000-10-30 12:18                     ` J.A. Sutherland
2000-10-29 19:30             ` Ingo Oeser
2000-10-29 20:41               ` James Sutherland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001027093908.B17142@viva.uti.hu \
    --to=lgb@viva.uti.hu \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox