system/core
Revision | 958d36230dd5cf04e233ba2b51054aae06a288f4 (tree) |
---|---|
Time | 2019-10-22 16:14:00 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
Merge remote-tracking branch 'x86/nougat-x86' into cm-14.1-x86
@@ -101,7 +101,6 @@ static char16_t* allocFromUTF16(const char16_t* u16str, size_t u16len) { | ||
101 | 101 | return getEmptyString(); |
102 | 102 | } |
103 | 103 | |
104 | - | |
105 | 104 | // --------------------------------------------------------------------------- |
106 | 105 | |
107 | 106 | String16::String16() |
@@ -169,25 +169,25 @@ on init | ||
169 | 169 | # this ensures that the cpusets are present and usable, but the device's |
170 | 170 | # init.rc must actually set the correct cpus |
171 | 171 | mkdir /dev/cpuset/foreground |
172 | - write /dev/cpuset/foreground/cpus 0 | |
173 | - write /dev/cpuset/foreground/mems 0 | |
172 | + copy /dev/cpuset/cpus /dev/cpuset/foreground/cpus | |
173 | + copy /dev/cpuset/mems /dev/cpuset/foreground/mems | |
174 | 174 | mkdir /dev/cpuset/foreground/boost |
175 | - write /dev/cpuset/foreground/boost/cpus 0 | |
176 | - write /dev/cpuset/foreground/boost/mems 0 | |
175 | + copy /dev/cpuset/cpus /dev/cpuset/foreground/boost/cpus | |
176 | + copy /dev/cpuset/mems /dev/cpuset/foreground/boost/mems | |
177 | 177 | mkdir /dev/cpuset/background |
178 | - write /dev/cpuset/background/cpus 0 | |
179 | - write /dev/cpuset/background/mems 0 | |
178 | + copy /dev/cpuset/cpus /dev/cpuset/background/cpus | |
179 | + copy /dev/cpuset/mems /dev/cpuset/background/mems | |
180 | 180 | |
181 | 181 | # system-background is for system tasks that should only run on |
182 | 182 | # little cores, not on bigs |
183 | 183 | # to be used only by init, so don't change system-bg permissions |
184 | 184 | mkdir /dev/cpuset/system-background |
185 | - write /dev/cpuset/system-background/cpus 0 | |
186 | - write /dev/cpuset/system-background/mems 0 | |
185 | + copy /dev/cpuset/cpus /dev/cpuset/system-background/cpus | |
186 | + copy /dev/cpuset/mems /dev/cpuset/system-background/mems | |
187 | 187 | |
188 | 188 | mkdir /dev/cpuset/top-app |
189 | - write /dev/cpuset/top-app/cpus 0 | |
190 | - write /dev/cpuset/top-app/mems 0 | |
189 | + copy /dev/cpuset/cpus /dev/cpuset/top-app/cpus | |
190 | + copy /dev/cpuset/mems /dev/cpuset/top-app/mems | |
191 | 191 | |
192 | 192 | # change permissions for all cpusets we'll touch at runtime |
193 | 193 | chown system system /dev/cpuset |