All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hao Lee <haolee.swjtu@gmail.com>
To: Johannes Weiner <hannes@cmpxchg.org>
Cc: linux-mm@kvack.org
Subject: Why don't we increase nonresident_age when inactive pages are moved to the head of the inactive list again?
Date: Fri, 13 Aug 2021 14:46:40 +0800	[thread overview]
Message-ID: <CA+PpKP=hdwFPujT0YTjJ=v07mrUZPOgjyKn6fXs7mMjj_RheDA@mail.gmail.com> (raw)

Hello,

The current refault algorithm only increases nonresident_age when pages are
promoted or evicted. When a page is removed from the tail of the inactive list
and then added to the head again, all other pages are moved one slot backward.
This is also an aging process. I wonder why we don't increase nonresident_age
in this circumstance. Thanks.

Regards,
Hao Lee


                 reply	other threads:[~2021-08-13  6:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CA+PpKP=hdwFPujT0YTjJ=v07mrUZPOgjyKn6fXs7mMjj_RheDA@mail.gmail.com' \
    --to=haolee.swjtu@gmail.com \
    --cc=hannes@cmpxchg.org \
    --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 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.