diff options
| author | 2024-10-25 14:34:09 +0900 | |
|---|---|---|
| committer | 2024-10-26 09:58:12 +0900 | |
| commit | b244fdfa903df89cc0ada32d5165c2561a3f002e (patch) | |
| tree | 3fabdd868ca4cfaa4e61d4682e6c06a284956135 /api/api_test.go | |
| parent | 7c6f77f6c5fac4eebc7b96683345bcd8b57d700f (diff) | |
Adjust the process group of the phantom processes as well
When an app process is assigned to a new process group, do the same for
all phantom processes created by the app. Otherwise, those phantom
processes can remain in the top-app cpuset even after the app process
goes to foreground or even background.
Bug: 375058190
Test: run Linux terminal, and then go to launcher. check the below
3:cpuset:/foreground
2:cpu:/
1:blkio:/
0::/uid_1010291/pid_9233
ensure that the cpuset is in foreground, not in top-app.
Flag: EXEMPT bugfix
Change-Id: I7115ce86d3363e83b1808fb2db5bd2c143bed885
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions