diff options
| author | 2024-10-06 07:18:13 +0000 | |
|---|---|---|
| committer | 2024-10-06 07:18:13 +0000 | |
| commit | b417208cecdf01f7ae7b8ca63f2da6a917202ea5 (patch) | |
| tree | 27d1c20fb82e68412f8f7a02da95b5a0b54ed02e /api/api_test.go | |
| parent | d66babf9261e40319816eb5f19f5b67e885275a0 (diff) | |
Only set SCHED_RESET_ON_FORK flag if the thread is using the default scheduling policy.
Keep nice and policy same as well to reduce the overhead in syscall.
Bug: 370988407
Change-Id: I4d9ef914905da6807339cf2c55650b8188787b43
Test: Build
Flag: com.android.server.power.hint.reset_on_fork_enabled
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions