lkml.org 
[lkml]   [2020]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm : sync ra->ra_pages with bdi->ra_pages
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?

\
 
 \ /
  Last update: 2020-08-16 00:12    [W:0.144 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site