From: Savochkin Andrey Vladimirovich <saw@msu.ru>
To: Rik van Riel <H.H.vanRiel@phys.uu.nl>, Linux MM <linux-mm@kvack.org>
Cc: Linux Kernel <linux-kernel@vger.rutgers.edu>,
Claus Fischer <cfischer@td2cad.intel.com>
Subject: Re: [PATCH] OOM killer
Date: Tue, 18 Aug 1998 10:33:26 +0400 [thread overview]
Message-ID: <19980818103326.A9815@castle.nmd.msu.ru> (raw)
In-Reply-To: <Pine.LNX.3.96.980816182759.697A-100000@mirkwood.dummy.home>; from "Rik van Riel" on Sun, Aug 16, 1998 at 06:34:32PM
On Sun, Aug 16, 1998 at 06:34:32PM +0200, Rik van Riel wrote:
> Hi,
>
> here is the first patch that provides kernel-based out-of-memory
> killing.
>
> It is only here to try if it works, I know it compiles but
> I haven't even booted it yet :)
>
> Basically, when kswapd fails to free up pages, we're out of
> memory and the system would otherwise die, the added functions
> select a process to kill.
>
> I don't know if it will always select the right process, nor
> if it even works correctly. All I do know is that the code
> is currently _VERY_ dirty and that it needs some major cleanups
> and sysctl tunables; right now I don't even dare sending Linus
> a cc: of this message :-) [Linus, if you read this, don't
> read on unless you don't mind ROFLing]
Rik,
Don't you think that it would be much easier if we just implement
"kill priorities" which applications will set themselves?
Certainly, only a limited range of the priorities will be available
for non privileged applications. If people think that this application
is something special (like X or long standing computation programs
or anything else) they set a non default killing priority for the process.
Among other applications it isn't matter which one will be killed first.
Best wishes
Andrey V.
Savochkin
--
This is a majordomo managed list. To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org
prev parent reply other threads:[~1998-08-18 6:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-08-16 16:34 Rik van Riel
1998-08-17 16:50 ` Claus Fischer
1998-08-17 18:41 ` Rik van Riel
1998-08-18 6:33 ` Savochkin Andrey Vladimirovich [this message]
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=19980818103326.A9815@castle.nmd.msu.ru \
--to=saw@msu.ru \
--cc=H.H.vanRiel@phys.uu.nl \
--cc=cfischer@td2cad.intel.com \
--cc=linux-kernel@vger.rutgers.edu \
--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