Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

Can an OS swap out an enclave thread?

Fan
Beginner
904 Views

With common OSes (e.g. Linux), threads are scheduled based on timer interrupts. But SGX is somewhat different since interrupts are handled as AEXes. So I'm wondering are SGX threads subject to OS scheduling too? Is there a way to mask timer interrupts so that a SGX thread can continue execution to the end without being scheduled out?

0 Kudos
1 Solution
PadmaPriya_M_Intel
904 Views

From an OS perspective, enclave threads are just normal threads. The OS does not “know” about SGX. So, SGX threads are treated the same way as normal threads and can be scheduled out like any other thread.

View solution in original post

0 Kudos
1 Reply
PadmaPriya_M_Intel
905 Views

From an OS perspective, enclave threads are just normal threads. The OS does not “know” about SGX. So, SGX threads are treated the same way as normal threads and can be scheduled out like any other thread.

0 Kudos
Reply