All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: "Dong Feng" <middle.fengdong@gmail.com>
Cc: "Jeremy Fitzhardinge" <jeremy@goop.org>, linux-kernel@vger.kernel.org
Subject: Re: Timer Selection
Date: Sun, 10 Sep 2006 15:51:11 +0200	[thread overview]
Message-ID: <200609101551.11521.ak@suse.de> (raw)
In-Reply-To: <a2ebde260609100334v65bf5e4fx754e3b00576bfb9f@mail.gmail.com>

On Sunday 10 September 2006 12:34, Dong Feng wrote:
> In i386 architecture, there are five timers as candidates in the selection
> of "cur_timer." I feel among the five only two types can be used as Kernel
> base timer, HPET and PIT. Kernel base timer is the timer trigger
> timer_interrupt() periodically. Namely, the timer installed on IRQ 0 in
> i386 architecture.
>
> Is the above understanding correct? Particularly I want to confirm which
> timers can be used as Kernel base timer.

Only HPET and PIT can be interrupt 0 in the PC architecture
(HPET only if the legacy option is available), but there is no reason 
the main timer handler cannot be driven from another interval timer (e.g. 
x86-64 offers the APIC timer as a option for this)

-Andi

  parent reply	other threads:[~2006-09-10 13:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <a2ebde260609100334v65bf5e4fx754e3b00576bfb9f@mail.gmail.com>
2006-09-10 10:37 ` Timer Selection Dong Feng
2006-09-10 13:51 ` Andi Kleen [this message]
2006-09-10 14:23   ` Dong Feng

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=200609101551.11521.ak@suse.de \
    --to=ak@suse.de \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=middle.fengdong@gmail.com \
    /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.