Skip to content

Commit

Permalink
shamu: defconfig: set default readahead to 2048KB
Browse files Browse the repository at this point in the history
Android has been benefiting quicker boot from bigger readahead during
boottime than runtime. However, the boottime readahead setting is set
when init is established after treble early mount. This patch will make
readahead bigger by default so early boot can benefit from it. Readahead
will be reset by init on boot_complete.

Bug: 62413151
Test: boot walleye 100ms faster
Change-Id: Ic9dad5666ce3d4836d73afbcee04cfb875f64f5d
Signed-off-by: Wei Wang <[email protected]>
Signed-off-by: Elektroschmock <[email protected]>
  • Loading branch information
weivincewang authored and elektroschmock committed Jan 8, 2019
1 parent a714de1 commit a332904
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/configs/shamu_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,7 @@ CONFIG_ENABLE_VMALLOC_SAVING=y
CONFIG_FORCE_MAX_ZONEORDER=11
CONFIG_ALIGNMENT_TRAP=y
# CONFIG_UACCESS_WITH_MEMCPY is not set
CONFIG_VM_MAX_READAHEAD=2048
CONFIG_SECCOMP=y
CONFIG_CC_STACKPROTECTOR=y
# CONFIG_XEN is not set
Expand Down

0 comments on commit a332904

Please sign in to comment.