Re:An EEVDF CPU Scheduler for Linux
by binkHN on Saturday March 25, 2023 @07:41PM
(#35308785)
I haven't looked to see how Android handles this internally, but, when developing Android apps, the "Main" thread is for UI work. Anything else is supposed to be offloaded to other threads and some Android libraries will simply crash if you make them try to do work on the Main thread.
[ Parent
| on HN ]
Re:An EEVDF CPU Scheduler for Linux
by charleslmunger on Saturday March 25, 2023 @09:56PM
(#35309870)
Android sets the priority of the top app's main thread and render thread to -10. Devices often also configure a cpuset reservation for the top app.