linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Zhaoyang Huang <huangzhaoyang@gmail.com>,
	Roman Gushchin <klamm@yandex-team.ru>,
	Zhaoyang Huang <zhaoyang.huang@unisoc.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm : sync ra->ra_pages with bdi->ra_pages
Date: Fri, 14 Aug 2020 21:14:59 -0700	[thread overview]
Message-ID: <20200814211459.65f6db0211872e30684a630a@linux-foundation.org> (raw)
In-Reply-To: <20200814131034.f71a91c6827904e12a629e04@linux-foundation.org>

On Fri, 14 Aug 2020 13:10:34 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:

> On Fri, 14 Aug 2020 17:03:44 +0800 Zhaoyang Huang <huangzhaoyang@gmail.com> wrote:
> 
> > Some system(like android) will turbo read during startup via expanding the
> > readahead window and then set it back to normal(128kb as usual). However, some
> > files in the system process context will keep to be opened since it is opened
> > up and has no chance to sync with the updated value as it is almost impossible
> > to change the files attached to the inode(processes are unaware of these things)
> 
> How about making VM_READAHEAD_PAGES a variable?

Or make it settable in Kconfig?

  reply	other threads:[~2020-08-15 22:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-14  9:03 [PATCH] mm : sync ra->ra_pages with bdi->ra_pages Zhaoyang Huang
2020-08-14 11:48 ` Matthew Wilcox
2020-08-14 20:10 ` Andrew Morton
2020-08-15  4:14   ` Andrew Morton [this message]
2020-08-17 10:59     ` Zhaoyang Huang
2020-08-19  6:54 ` Zhaoyang Huang

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=20200814211459.65f6db0211872e30684a630a@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=huangzhaoyang@gmail.com \
    --cc=klamm@yandex-team.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=zhaoyang.huang@unisoc.com \
    /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;
as well as URLs for NNTP newsgroup(s).