ok i see. btw ELKS stands for E Linux Kernel S ? Xin On Fri, Oct 26, 2012 at 11:51 AM, David Given <dg@xxxxxxxxxxx> wrote: > 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 -- 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