ANDROID: GKI: add fair task core selection logic vendor hooks.
The hook we added allows prioritization of task selection from our own queue, reducing the overhead of task selection while optimizing the logic for load balancing and selecting important tasks. With this new hook, important tasks can be selected directly for execution rather than using the replace method, thereby saving the overhead of the pick_next_entity instructions in the non-simple native path. This new hook allows important tasks to be immediately pulled from other CPUs for execution (instead of waiting for CPU newidle or tick balance), reducing scheduling latency—something that the current hooks cannot achieve. Bug: 441263127 Bug: 434879809 Bug: 442500504 Signed-off-by:renchenghan <renchenghan@vivo.corp-partner.google.com> Change-Id: Iec0292d0c991c69d48771ee4568ca8393b96cca8 (cherry picked from commit 196f0307)
Loading
Please sign in to comment