Pass the correct user ID to SetProcessProfilesCached()
SetProcessProfilesCached() can only set cgroup attributes in the v2 cgroup hierarchy if it is passed the correct user ID. Hence this CL. This CL makes SetProcessProfilesCached() apply IO controller cgroup attributes for processes with a user ID that is not zero. Bug: 320456702 Bug: 213617178 Signed-off-by: Bart Van Assche <bvanassche@google.com> (cherry picked from https://android-review.googlesource.com/q/commit:16c09591abe1f982887b05d89e264f69316f383d) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:046510b52692a1967050803c28b1bf7d2b61351f) Merged-In: I84d072c14ff01422560c241a69cb9f4e02c47e74 Change-Id: I84d072c14ff01422560c241a69cb9f4e02c47e74
Loading
Please register or sign in to comment