Commit e8c5163f authored by Stephen Dickey's avatar Stephen Dickey Committed by Todd Kjos
Browse files

ANDROID: kernel: sched: tracehook for is_cpu_allowed



To support the replacement of CPU pause, is_cpu_allowed is the best
place to hook into the code to restrict CPUs for a module based
implementation. This restricts select_fallback_rq, select_task_rq,
and __migate_task, to ensure the cpu is allowed.

Include a hook in is_cpu_allowed to allow the module to control
which cpu is allowed during a migration event.

Bug: 205164003
Bug: 222550772
Bug: 228392842
Change-Id: I665e4d39318079bdb99bd248969ecb9eb528f9df
Signed-off-by: default avatarStephen Dickey <quic_dickey@quicinc.com>
Signed-off-by: default avatarAshay Jaiswal <quic_ashayj@quicinc.com>
parent 1347ec53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment