Skip to content
Snippets Groups Projects
Commit 7b0f326a authored by Avi Kivity's avatar Avi Kivity
Browse files

sched: simplify load_balance() determination of pinned threads


Take the migration lock for pinned threads instead of a separate
check whether they are pinned or not.

Reviewed-by: default avatarNadav Har'El <nyh@cloudius-systems.com>
Signed-off-by: default avatarAvi Kivity <avi@cloudius-systems.com>
parent 618c2ff6
No related branches found
No related tags found
No related merge requests found
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