linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <H.H.vanRiel@fys.ruu.nl>
To: "Stephen C. Tweedie" <sct@dcs.ed.ac.uk>
Cc: linux-mm <linux-mm@kvack.org>, werner@suse.de
Subject: Re: memory limitation test kit (tm) :-)
Date: Fri, 27 Feb 1998 00:29:44 +0100 (MET)	[thread overview]
Message-ID: <Pine.LNX.3.91.980227002715.6476A-100000@mirkwood.dummy.home> (raw)
In-Reply-To: <199802262253.WAA03955@dax.dcs.ed.ac.uk>

On Thu, 26 Feb 1998, Stephen C. Tweedie wrote:

> > I've made a 'very preliminary' test patch to test
> > whether memory limitation / quotation might work.
> 
> Running a single task which has a perfectly reasonable resident set
> larger than num_physpages/2 will thrash unnecessarily.

I know... The patch was just meant as a "look it works ...
euhm, nope" type of eye-opener. Once the swap cache and
inactive list infrastructure is in place, we should replace
RSS limit with active limit, ie. the maximum number of active
pages a process is allowed to have. Then we can do effective
and harmless RSS limitation.

Rik.
+-----------------------------+------------------------------+
| For Linux mm-patches, go to | "I'm busy managing memory.." |
| my homepage (via LinuxHQ).  | H.H.vanRiel@fys.ruu.nl       |
| ...submissions welcome...   | http://www.fys.ruu.nl/~riel/ |
+-----------------------------+------------------------------+

      reply	other threads:[~1998-02-27  0:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-26 12:58 Rik van Riel
1998-02-26 15:32 ` Rik van Riel
1998-02-26 19:10 ` Dr. Werner Fink
1998-02-26 19:29   ` Rik van Riel
1998-02-26 22:53 ` Stephen C. Tweedie
1998-02-26 23:29   ` Rik van Riel [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=Pine.LNX.3.91.980227002715.6476A-100000@mirkwood.dummy.home \
    --to=h.h.vanriel@fys.ruu.nl \
    --cc=linux-mm@kvack.org \
    --cc=sct@dcs.ed.ac.uk \
    --cc=werner@suse.de \
    /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