linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Yang Shi <yang.shi@linux.alibaba.com>
To: "linux-mm@kvack.org" <linux-mm@kvack.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: [Question] Why PageReadahead is not migrated by migration code?
Date: Thu, 13 Feb 2020 09:06:58 -0800	[thread overview]
Message-ID: <7691ab12-2e84-2531-f27d-2fae9045576d@linux.alibaba.com> (raw)

Hi folks,


Recently we saw some PageReadahead related bugs, so I did a quick check 
about the use of PageReadahead. I just found the state is *not* migrated 
by migrate_page_states().


Since migrate_page() won't migrate writeback page, so if PageReadahead 
is set it should just mean PG_readahead rather than PG_reclaim. So, I 
didn't think of why it is not migrated.


I dig into the history a little bit, but the change in migration code is 
too overwhelming. But, it looks PG_readahead was added after migration 
was introduced. Is it just a simple omission?


Thanks,

Yang



             reply	other threads:[~2020-02-13 17:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-13 17:06 Yang Shi [this message]
2020-02-13 17:33 ` Matthew Wilcox
2020-02-13 18:04   ` Yang Shi

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=7691ab12-2e84-2531-f27d-2fae9045576d@linux.alibaba.com \
    --to=yang.shi@linux.alibaba.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox