Commit 0fabf234 authored by Tengfei Fan's avatar Tengfei Fan Committed by Todd Kjos
Browse files

ANDROID: sched: add hook point in do_sched_yield()



When a task yields, it relinquishes the cpu and
scheduler is tasked to find another task.
However our vendor scheduler logic implementation
could return the same task leading to a loop where
the yielded task gets to run back, so add hook point
in do_sched_yield() for vendor can do some work
before task is scheduled.

Bug: 205804537
Change-Id: I6528c3f4b0ee360559ef9c97cb1eb2b2d1357870
Signed-off-by: default avatarTengfei Fan <quic_tengfan@quicinc.com>
Signed-off-by: default avatarSai Harshini Nimmala <quic_snimmala@quicinc.com>
Signed-off-by: default avatarKhalid Shaik <khalid.s@samsung.com>
parent 2aed2a7c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment