init.common.rc: set cpuset with sys.boot_completed=1
In the aosp common init.rc file, all cpusets are initialized to
use all cpu cores here:
https://android-review.googlesource.com/#/c/373574/
And to help to make boot much faster, need to keep to use all cpu cores
till the boot completed.
btw, put the "on post-fs-data" after "on post-fs" as well
Test: manual with hikey, the average(from 10 times) android boot time is about
0.8s faster. The measurement is taken from lines like "Boot is finished (17288 ms)" from logcat
Change-Id: I42b42c1b8af717ab305fcbdb939404725f6bd88a
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
1 file changed