Skip to content
Commit ff8db15e authored by Summer Qin's avatar Summer Qin
Browse files

Core: Tweak 'update_running_head()' behaviour



This function could be called in SVCall functions, it searches for the
next running thread if the 'Running Head' thread status has been set to
non-running. Performing a searching in SVCall is unnecessary and costs
more expensive SVCall execution time. Reset the searching start head to
thread list and return in this case, let scheduler in PendSV handles the
searching.

Change-Id: Idc795496f1fcb03e139e2d37d9ab46bf52c9b1e1
Signed-off-by: default avatarSummer Qin <summer.qin@arm.com>
parent 632b3e00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment