Re: [PATCH] mm: add config for readahead window

From: Wei Wang
Date: Sun Mar 18 2018 - 23:15:39 EST


On Sun, Mar 18, 2018 at 7:37 PM Huang, Ying <ying.huang@xxxxxxxxx> wrote:

> Wei Wang <wvw@xxxxxxxxxx> writes:

> > Android devices boot time benefits by bigger readahead window setting
from
> > init. This patch will make readahead window a config so early boot can
> > benefit by it as well.

> Can you change the source code of init to call ioctl(BLKRASET) early?

> Best Regards,
> Huang, Ying

Yes, I am sure we can work this out by not touching it in mainline kernel.
One reason to bring it up again is that we found some SoC vendor has always
set a different value than default (128) in their kernel tree.

Thanks,
Wei Wang