1. 20

  2. 10

    For modern Intel processors, the instruction of choice for sleeping is actually MWAIT rather than HLT. MWAIT allows selecting deeper sleep states and can monitor memory modifications for wakeup (in addition to interrupts). That monitoring feature is pretty cool for coordination across multiple processors, but unfortunately only available to kernel-mode codeā€¦