From: Helge Hafting <helgehaf@idb.hist.no>
To: "M. Edward Borasky" <znmeb@aracnet.com>, linux-kernel@vger.kernel.org
Subject: Re: 2.4.16 memory badness (fixed?)
Date: Wed, 12 Dec 2001 10:04:18 +0100 [thread overview]
Message-ID: <3C171D92.317ABE42@idb.hist.no> (raw)
In-Reply-To: <HBEHIIBBKKNOBLMPKCBBOEHNEDAA.znmeb@aracnet.com>
"M. Edward Borasky" wrote:
>
> > -----Original Message-----
> > I just can't understand why the kernel wouldn't tag application memory
> > as being more important than buff/cache and free up some of that stuff
> > when an application calls for it. I mean, it won't even use the gobs of
> > swap I have. That just seems to be a plain ol' bug to me.
>
> It's not strictly a bug ... it's a design decision that has unfortunate
> consequences. A simple fix would be to allow the system administrator to set
> an upper limit on the size of the page cache.
I'd say he has found a bug. Merely prioritizing cache over apps
so apps go to swap is a design desicion. Killing the app
for OOM reasons when there is free swap and/or cache
that can be freed up _is_ a bug.
Helge Hafting
next prev parent reply other threads:[~2001-12-12 9:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.33.0112090808250.6883-100000@mikeg.weiden.de>
2001-12-09 16:07 ` Leigh Orf
2001-12-09 17:17 ` Mike Galbraith
2001-12-10 7:24 ` Ken Brownfield
2001-12-10 11:10 ` Rik van Riel
2001-12-10 15:49 ` Leigh Orf
2001-12-10 16:29 ` M. Edward Borasky
2001-12-12 9:04 ` Helge Hafting [this message]
2001-12-14 22:54 ` Mike Galbraith
2001-12-09 17:32 ` Mike Galbraith
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=3C171D92.317ABE42@idb.hist.no \
--to=helgehaf@idb.hist.no \
--cc=linux-kernel@vger.kernel.org \
--cc=znmeb@aracnet.com \
/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
all inboxes | Powered by JetHome®