Re: idle process in x86 linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Xin Tong wrote:
> I am wondering why idle process is implemented as infinite loop with
> HLT instruction. how does it compare to MWAIT and MONITOR instruction
> sequence ?

They're only available in very modern processors --- ELKS targets the
8086, so they're not available. HLT is the only game in town.

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│ "There does not now, nor will there ever, exist a programming
│ language in which it is the least bit hard to write bad programs." ---
│ Flon's Axiom
--
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel]     [Linux ia64]     [DCCP]     [Linux for ARM]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux