How does Linaro schedule OPTEE?

901 Views Asked by At

I want to know which part of the code is the scheduler of project OPTEEhttps://github.com/OP-TEE.

More specifically, the code decides that on which CPU secure world and normal word processes are running for multicore architecture.

Any advice is genuinely appreciated.

1

There are 1 best solutions below

1
On BEST ANSWER

I'm one of the Linaro developers working directly with OP-TEE and OP-TEE as such has no scheduler, instead it's being entirely scheduled by Linux kernel. It's not tied to a single core either, after being in Linux kernel and you're about to re-enter secure world it could be any of the cores where you continue running your ongoing job. So in short, there is no scheduler in OP-TEE.