linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: linux-mm@kvack.org
Subject: Re: [PATCH] modified memory_pressure calculation
Date: Mon, 28 May 2001 21:20:53 +0200	[thread overview]
Message-ID: <3B12A515.B8B207EA@colorfullife.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0105281425450.1204-100000@freak.distro.conectiva>

Marcelo Tosatti wrote:
> 
> I disagree with the second hunk.
> 
> memory_pressure is used to calculate the size of _both_ the inactive dirty
> and clean lists.
> 
> Since you're adding the page back to the inactive dirty list, you should
> not increase memory_pressure.
>

Correct. And page_launder should increase memory_pressure fore each page
it moves back into the active list.

But I don't like the overloading of memory_pressure. Initially I thought
that one ++ is missing.

I think an additional statistic variable would be better.
[reactivation_rate, or whatever].

--
	Manfred
--
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-mm.org/

  reply	other threads:[~2001-05-28 19:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-27 12:30 Manfred Spraul
2001-05-27 15:58 ` Rik van Riel
2001-05-27 17:44   ` Manfred Spraul
2001-05-27 17:51     ` Rik van Riel
2001-05-27 18:24       ` Manfred Spraul
2001-05-27 18:40         ` Rik van Riel
2001-05-28 17:29 ` Marcelo Tosatti
2001-05-28 19:20   ` Manfred Spraul [this message]
2001-05-28 18:07     ` Marcelo Tosatti

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=3B12A515.B8B207EA@colorfullife.com \
    --to=manfred@colorfullife.com \
    --cc=linux-mm@kvack.org \
    --cc=marcelo@conectiva.com.br \
    /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