HomeFreeBSD

MFC 310336:

Description

MFC 310336:
Don't spin in pause() during early boot for kthreads other than thread0.

pause() uses a spin loop to simulate a sleep during early boot. However,
we only need this for thread0 to get far enough in the boot process to
enable timers (at which point pause() can sleep). For other kthreads,
sleeping in pause() is ok as the callout will be scheduled and will
eventually fire once thread0 initializes timers.

Details

Provenance
jhbAuthored on
Parents
rS310980: MFC r285706,r303562,r303563,r303584,r303643,r303652,r303655,r303707:
Branches
Unknown
Tags
Unknown