summaryrefslogtreecommitdiff
path: root/libcutils/socket_local_server_unix.cpp
diff options
context:
space:
mode:
authorAlex Vakulenko <avakulenko@google.com>2016-05-03 12:00:00 -0700
committerAlex Vakulenko <avakulenko@google.com>2017-03-21 12:00:31 -0700
commit0828676dff618c8ecc9852cb319543570b3a2e72 (patch)
tree905ad66726dd9dba8b3fe7782508eb259fa3d4c0 /libcutils/socket_local_server_unix.cpp
parentf5ee213a5cb4c30d96a8d26b3683e366e7368765 (diff)
Add 'ro.cpuset.default' system property for default cpusets.
Normally 'writepid' is used to add a process to a particular cpuset. However certain systems with big/small cores might need to specify a default cpuset for system processes which do not explicitly specify one. Add an option to use 'ro.cpuset.default' system property to specify default cpuset for system processes which do not explicitly write to /dev/cpuset/... with 'writepid' option. The cpuset name specified in ro.cpuset.default is just the cpuset name, e.g. '/system-background', '/foreground', or simply '/' for the "root" cpuset. Bug: 28550814 Test: `m -j32` succeeds for aosp_sailfish-eng. Phone boots successfully. Also tested manually with debug trace messages on emulator with different combinations of values for 'ro.cpuset.default'. Change-Id: I501727fa5ee3f4bb7a938fa104b81a404b616633
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions