From: Andi Kleen <andi@firstfloor.org>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] I/O APIC: Timer through 8259A revamp
Date: Tue, 20 May 2008 00:34:19 +0200 [thread overview]
Message-ID: <4832006B.1030106@firstfloor.org> (raw)
In-Reply-To: <Pine.LNX.4.55.0805192247230.19879@cliff.in.clinika.pl>
Maciej W. Rozycki wrote:
> On Mon, 19 May 2008, Andi Kleen wrote:
>
>>> With the ACPI tables, hardware is modern enough the timer interrupt
>>> should be directly available, but is usually wired in the way recommended
>>> by the MP spec.
>> I originally had that assumption too, but in practice that doesn't seem
>> to be always the case unfortunately. Or sometimes the tests just fail
>> for whatever reason and they drop into the fallback path.
>
> Well, the fallback path was meant to be used with hardware suffering from
> limitations and not from broken configuration tables.
I don't think it was wrong tables generally, but more screwy hardware.
The main table problem were with nvidia with the wrong timer overrides,
but that was handled elsewhere. And a long time ago ACPI couldn't handle
the VIA interrupt configuration properly, but that was also fixed later.
>> On the other hand with wider use of tickless kernels and hrtimers it might
>> be tolerable to use non standard HZ,
>
> I don't think the value of HZ should be a problem anymore now that we
> have a separate user-visible HZ
I wasn't worried about the units in sysctl, but about the minimum delay
time in select() and other timeout syscalls. And yes changing that
changes user behaviour significantly. And it's still HZ granuality.
I don't think anybody dared to change it to hrtimers yet because it has
potentially large impact on applications.
Of course you could probably define a "true user hz" that is emulated
with hrtimers even when the system tick is different. Problem is also
that a lot of systems don't support hrtimers yet because they have both
broken APIC timer and missing HPET.
-Andi
prev parent reply other threads:[~2008-05-19 22:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-18 3:35 [PATCH] I/O APIC: Timer through 8259A revamp Maciej W. Rozycki
2008-05-19 12:30 ` Ingo Molnar
2008-05-19 13:57 ` Maciej W. Rozycki
2008-05-19 12:52 ` Andi Kleen
2008-05-19 14:25 ` Maciej W. Rozycki
2008-05-19 14:50 ` Andi Kleen
2008-05-19 22:08 ` Maciej W. Rozycki
2008-05-19 22:34 ` Andi Kleen [this message]
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=4832006B.1030106@firstfloor.org \
--to=andi@firstfloor.org \
--cc=linux-kernel@vger.kernel.org \
--cc=macro@linux-mips.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox