diff options
| author | Tom Cherry <tomcherry@google.com> | 2015-09-21 21:41:46 +0000 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2015-09-21 21:41:46 +0000 |
| commit | 3c6ffbc6fec456bd25a3dad85d45a444b807d020 (patch) | |
| tree | 70cbb90ad5afdb63de251c36181524a93701c74a /rootdir | |
| parent | 6bb611d38fc874fb5fd178076de648225f575b34 (diff) | |
| parent | 984bd8323dcb5e494a04b2058ab7de40bf347ee5 (diff) | |
| download | core-3c6ffbc6fec456bd25a3dad85d45a444b807d020.tar.gz core-3c6ffbc6fec456bd25a3dad85d45a444b807d020.tar.bz2 core-3c6ffbc6fec456bd25a3dad85d45a444b807d020.zip | |
am 984bd832: resolved conflicts for 5caca3dd to mnc-dr-dev-plus-aosp
* commit '984bd8323dcb5e494a04b2058ab7de40bf347ee5':
add system-background cpuset
Diffstat (limited to 'rootdir')
| -rw-r--r-- | rootdir/init.rc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 52d670027..55e377642 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -138,14 +138,20 @@ on init mkdir /dev/cpuset/foreground mkdir /dev/cpuset/foreground/boost mkdir /dev/cpuset/background + # system-background is for system tasks that should only run on + # little cores, not on bigs + # to be used only by init, so don't change the permissions + mkdir /dev/cpuset/system-background # this ensures that the cpusets are present and usable, but the device's # init.rc must actually set the correct cpus write /dev/cpuset/foreground/cpus 0 write /dev/cpuset/foreground/boost/cpus 0 write /dev/cpuset/background/cpus 0 + write /dev/cpuset/system-background/cpus 0 write /dev/cpuset/foreground/mems 0 write /dev/cpuset/foreground/boost/mems 0 write /dev/cpuset/background/mems 0 + write /dev/cpuset/system-background/mems 0 chown system system /dev/cpuset chown system system /dev/cpuset/foreground chown system system /dev/cpuset/foreground/boost |
