Re: Fwd: x86_64 and AMD with C1E

From: Thomas Gleixner
Date: Mon Oct 01 2007 - 11:00:19 EST


On Mon, 1 Oct 2007, Andi Kleen wrote:
> > There is work in progress on a patch, which allows to utilize the hpet
> > timers as per cpu timers. This should solve the problem. Be patient.
>
> Given that e.g. ICH8 only has 3 HPET timers that seems doubtful
> except for the special case of single-socket non hyper threaded dual core.
> You'll probably do a lot of broadcasting and IPI'ing still.
>
> Also you'll likely make user space unhappy which often requires
> at least one free HPET timer for /dev/rtc. Ok I suppose that
> could be replaced with a hrtimer.

Yes, we can replace rtc with a hrtimer. Also HPET can operate in non
legacy irq mode, so the legacy rtc is still available. So if the
number of hpet channels is greater/equal to the number of possible
CPUs it's perfectly fine and does not need IPI at all.

Thanks,

tglx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/