Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc10c3fb authored by Olav Haugan's avatar Olav Haugan Committed by Syed Rameez Mustafa
Browse files

sched/core: Prevent (user) space tasks from affining to isolated cpus



We don't want user space tasks to run on isolated cpus. If the affinity
mask that the user space task is trying to set only includes online
cpus that are isolated return error.

Also ensure that tasks do not get stuck on isolated cores. We are not
properly updating the mask that we check against the current CPU so we
might end up thinking we can run on the current CPU. Fix this.

Change-Id: I078d01e63860d1fc60fc96eb0c739c0f680ae983
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>
parent a976a454
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment