commit | b49996d8e2658ea2d62cd19d28edd70b2b22f605 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Mon Feb 06 20:24:08 2017 +0000 |
committer | Narayan Kamath <narayan@google.com> | Tue Feb 14 16:20:45 2017 +0000 |
tree | c5a069107735b07a623e8cb546968a56072afeaf | |
parent | 027d72ebe65750828c547a1a2a39130d506064af [diff] |
Zygote: Reset niceness if lazy preloading is enabled. By definition, the zygote in question is lower priority if lazy preloading is enabled. We therefore reset the zygote process' niceness to 0 as soon as it comes up, rather than having it stick around as a higher priority process until we eventually ask it to load the default set of resources. Test: manual. Change-Id: I3ccfc0e7c3fdebf5f798d90b53140a554bf64c20