]> glassweightruler.freedombox.rocks Git - waydroid.git/commit
container_manager: Keep schedtune cgroup around in case nesting is supported
authorAlfred Neumayer <dev.beidl@gmail.com>
Tue, 29 Aug 2023 19:22:21 +0000 (21:22 +0200)
committerAlessandro Astone <ales.astone@gmail.com>
Thu, 7 Sep 2023 13:46:00 +0000 (15:46 +0200)
commitb67b4415c1aef525153cc156806ef7e41f38756c
treee4d0f72cdedba3227a406a034003adbe691ce093
parent586795b80c144dbdce963b0ac74fed25e434344b
container_manager: Keep schedtune cgroup around in case nesting is supported

Certain devices with Ubunutu Touch make use of the schedtune cgroup boosting mechanism,
allowing for better performance system-wide with very little tweaking.
Some devices have trouble using this cgroup in a regular GNU/Linux setting because
their kernels are not carrying the necessary kernel patch for enabling nesting. [1]

To please both those that want Waydroid to stop dropping their performance as well as
those having unpatched kernels, probe the capability to nest schedtune cgroups.

[1]: https://gitlab.com/ubports/porting/reference-device-ports/android9/google-pixel-3a/android_kernel_google_bonito/-/commit/6452429d1f1dbdc9e1e310e82cc18664f2d1b56d
tools/actions/container_manager.py