commit | b417208cecdf01f7ae7b8ca63f2da6a917202ea5 | [log] [tgz] |
---|---|---|
author | Wei Wang <wvw@google.com> | Sun Oct 06 07:18:13 2024 +0000 |
committer | Wei Wang <wvw@google.com> | Sun Oct 06 07:18:13 2024 +0000 |
tree | 27d1c20fb82e68412f8f7a02da95b5a0b54ed02e | |
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