From: David Given <dg@cowlark.com>
To: linux-8086@vger.kernel.org
Subject: Re: idle process in x86 linux
Date: Fri, 26 Oct 2012 16:51:22 +0100 [thread overview]
Message-ID: <508AB17A.1050707@cowlark.com> (raw)
In-Reply-To: <CALKntY1fcU4RTrpdsQ7MH9cuRv1wo3c4RxsFedfHq4s+XODf=A@mail.gmail.com>
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2012-10-26 15:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-26 14:28 idle process in x86 linux Xin Tong
2012-10-26 15:51 ` David Given [this message]
2012-10-27 3:03 ` Xin Tong
2012-10-29 8:13 ` Angel M Alganza
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=508AB17A.1050707@cowlark.com \
--to=dg@cowlark.com \
--cc=linux-8086@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.