Loading
Add cpuset switching to scheduler policy mechanism.
Add the ability to add a cpuset to the supported scheduler policies. This enables services that use the scheduler policy API to run in the correct cpuset without explicitly requesting a cpuset via the deprecated API. Add tests to confirm the correct operation and fix flaky test due to racing with thread.join(). Also fix log messages on performanced startup related to failure to access /proc/<pid> directories for certain tasks: this failure is expected due to sepolicy settings and the log spam is unnecessary. Bug: 64337476 Test: performance_service_tests passes. Change-Id: I8a82852e63e39fe72fa3b731e03237f3652cddc7