All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjanv@redhat.com>
To: Andrew Morton <akpm@osdl.org>
Cc: Rik van Riel <riel@redhat.com>, linux-mm@kvack.org, sjiang@cs.wm.edu
Subject: Re: [PATCH] token based thrashing control
Date: Sun, 01 Aug 2004 13:13:29 +0200	[thread overview]
Message-ID: <1091358809.2816.7.camel@laptop.fenrus.com> (raw)
In-Reply-To: <20040801040553.305f0275.akpm@osdl.org>

[-- Attachment #1: Type: text/plain, Size: 292 bytes --]


> btw, in page_referenced_one():
> 
> +	if (mm != current->mm && has_swap_token(mm))
> +		referenced++;
> 
> what's the reason for the `mm != current->mm' test?
> 

so that you can steal pages from yourself if you really need to, say if
your own working set is bigger than ram.


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-08-01 11:13 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-30 21:37 [PATCH] token based thrashing control Rik van Riel
2004-07-31  3:35 ` jhigdon
2004-07-31 11:34 ` Nikita Danilov
2004-07-31 11:43   ` Rik van Riel
2004-08-01 11:05 ` Andrew Morton
2004-08-01 11:13   ` Arjan van de Ven [this message]
2004-08-01 21:52   ` Rik van Riel
2004-08-01 13:02 ` Rik van Riel
2004-08-01 13:02   ` Rik van Riel
2004-08-02  0:56   ` Andrew Morton
2004-08-02  0:56     ` Andrew Morton
2004-08-02  1:36     ` Rik van Riel
2004-08-02  1:36       ` Rik van Riel
2004-08-02  2:52     ` Con Kolivas
2004-08-02  3:33       ` Rik van Riel
2004-08-02  3:33         ` Rik van Riel
2004-08-02  5:13         ` Con Kolivas
2004-08-02  5:18           ` Con Kolivas
2004-08-03  0:34             ` Song Jiang
2004-08-03  0:34               ` Song Jiang
2004-08-03  1:20               ` Rik van Riel
2004-08-03  1:20                 ` Rik van Riel
2004-08-04  4:51                 ` Song Jiang
2004-08-04  4:51                   ` Song Jiang
2004-08-04 11:30                   ` Rik van Riel
2004-08-04 11:30                     ` Rik van Riel

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=1091358809.2816.7.camel@laptop.fenrus.com \
    --to=arjanv@redhat.com \
    --cc=akpm@osdl.org \
    --cc=linux-mm@kvack.org \
    --cc=riel@redhat.com \
    --cc=sjiang@cs.wm.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.