From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Given Subject: Re: idle process in x86 linux Date: Fri, 26 Oct 2012 16:51:22 +0100 Message-ID: <508AB17A.1050707@cowlark.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=qCG9u885n6149U/mIGcU5Sk7Ba0FMu46euOcJVUNlb4=; b=Z+WedW4GB+5UCpxFZZ2Tm0T6bsFk8qq7sQIoQoctJ2i39nGwbAVx8j6VG0dsG4FyMN DK0Lr0XOMn/8P5W2pLQYeZuzxZUNhTR4SVQR5b/6SDs4IDlczac4JaHF53P/VuQD6jxU 6mqCGmZdqwnKehy3Ck0ZQKcz2e8rkiALR/Feq/vGiBurRyJ+oh3eQ75vPX0RMF26fmKO SSeqNFtKSF+yp0g8Dl3Gv5OkzbcnveuvymrornEc2mJLPzjlauYrIoOZ8EPysP1orF9z WBJVqjFV4mDFlIV/KoOeh+d8N2ffri7K1nxEpz3KuqeXdopZMKDSPegKkdaV1+vOcV2L mXbA== In-Reply-To: Sender: linux-8086-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="utf-8" To: linux-8086@vger.kernel.org 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. --=20 =E2=94=8C=E2=94=80=E2=94=80=E2=94=80 =EF=BD=84=EF=BD=87=EF=BC=A0=EF=BD=83= =EF=BD=8F=EF=BD=97=EF=BD=8C=EF=BD=81=EF=BD=92=EF=BD=8B=EF=BC=8E=EF=BD=83= =EF=BD=8F=EF=BD=8D =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80 http:/= /www.cowlark.com =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 "There does not now, nor will there ever, exist a programming =E2=94=82 language in which it is the least bit hard to write bad progr= ams." --- =E2=94=82 Flon's Axiom -- To unsubscribe from this list: send the line "unsubscribe linux-8086" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html