[svsm-devel] [RFC] task/schedule: Idle process?

Carlos Bilbao carlos.bilbao at amd.com
Wed Sep 6 16:29:00 CEST 2023


Hello,

The PR for the scheduler (#64) is still under review. In traditional OSs,
it makes sense to include an idle userspace process that does nothing and
is always there to be scheduled. So I was wondering if we should do the
same for the SVSM.

Currently, SVSM schedules the "root" task responsible for running the
request loop. However, in the event of a SvsmReqError:FatalError, this
process may terminate prematurely. This raises the question: should we
introduce an idle process in SVSM, or is it irrelevant in that context?

My first intuition is that if we don't have an idle process, then the SVSM
itself would terminate, and perhaps that would difficult further debugging
of potential errors. Or maybe it would not?

Thanks,
Carlos


More information about the Svsm-devel mailing list