commit | 678b445a564d71428083e8a0bb8237e77418dfdd | [log] [tgz] |
---|---|---|
author | Jing Ji <jji@google.com> | Wed Dec 01 00:39:31 2021 -0800 |
committer | Jing Ji <jji@google.com> | Fri Dec 03 06:14:38 2021 +0000 |
tree | 43841cf64f0ed6f8733fc5f323cdbcb8b6760fc4 | |
parent | da7af7d8876aaaa923658a8dd1133c63d5bea1a3 [diff] |
Fix process capabilities on re-computation for cycles in oomAdjuster When retrying the oomAdj computation because of cycles, it's scanning the list of processes in the opposite direction, we should preserve whatever capabilities we have got before the retry. Bug: 206585758 Test: atest MockingOomAdjusterTests Change-Id: Ia7d0ec7a39aac5bf59ae837b4af1ed7b6512521c Merged-In: Ia7d0ec7a39aac5bf59ae837b4af1ed7b6512521c