Commit 13d51a22 authored by renchenghan's avatar renchenghan Committed by Treehugger Robot
Browse files

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: default avatarrenchenghan <renchenghan@vivo.corp-partner.google.com>
Change-Id: Iec0292d0c991c69d48771ee4568ca8393b96cca8
(cherry picked from commit 196f0307)
parent 99fe098b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment