Re: idle process in x86 linux

David Given <[email protected]>
Newsgroups org.kernel.vger.linux-8086
Message-ID <[email protected]>
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.