From: "J.E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
To: "Martin J. Bligh" <mbligh@aracnet.com>
Cc: linux-kernel@vger.kernel.org, James.Bottomley@HansenPartnership.com
Subject: Re: [PATCH][2.5] notsc option needs some attention/TLC
Date: Sat, 09 Nov 2002 12:52:27 -0500 [thread overview]
Message-ID: <200211091752.gA9HqR802867@localhost.localdomain> (raw)
> having this config option ass-backwards is mind-bogglingly confusing,
> and there seems no real reason for it. John had a plan to just put in
> CONFIG_X86_PIT instead as the inverse of this, and delete
> CONFIG_X86_TSC. He seems to have gone off this idea for some reason I
> can't understand ... I think it solves a lot of these issues ...
Actually, this is partly my fault. When the subarch code went in, the meaning
of CONFIG_X86_TSC got altered to mean, 'If not y, don't use tsc at all' (so I
could disable the TSC entirely for Voyager). Then, when code moved to
kernel/timers we got some code with the old meaning and some with the new,
hence the confusion.
The CONFIG_X86_PIT was something I added to try to clarify. There are three
cases with this:
PIT y, TSC n: Never use TSC, always use PIT
PIT y, TSC y: Try TSC at first, if it doesn't work, fall back to PIT
PIT n, TSC y: TSC always works, use it without testing.
Obviously PIT n, TSC n is bogus.
There are also two distinct usages of TSC:
1. do_fast_gettimeofday (now in timers) which *requires* the TSCs to be
synchronised across all CPUs
2. more accurate udelay (which already has the mechanisms in place to cope
with TSCs running at different rates).
1. is usually the reason why numa like machines want to disable the TSC
entirely.
Linus isn't very happy with the global TSC disable patch (see
http://marc.theaimsgroup.com/?t=103652952900006&r=1&w=2). And wants a better
solution. (Then, of course, there are the additional timer options, like the
cyclone).
James
next reply other threads:[~2002-11-09 17:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-09 17:52 J.E.J. Bottomley [this message]
2002-11-10 5:32 ` Zwane Mwaikambo
2002-11-10 14:25 ` J.E.J. Bottomley
-- strict thread matches above, loose matches on Subject: below --
2002-11-09 12:00 Mikael Pettersson
2002-11-09 13:05 ` Alan Cox
2002-11-09 16:34 ` Martin J. Bligh
2002-11-09 18:09 ` Zwane Mwaikambo
2002-11-09 18:51 ` Linus Torvalds
2002-11-10 19:03 ` Henning P. Schmiedehausen
2002-11-12 11:29 ` Maciej W. Rozycki
2002-11-11 1:21 ` William Lee Irwin III
2002-11-11 1:51 ` Linus Torvalds
2002-11-11 8:15 ` William Lee Irwin III
2002-11-11 13:24 ` Alan Cox
2002-11-09 19:10 ` Alan Cox
2002-11-09 4:52 Zwane Mwaikambo
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=200211091752.gA9HqR802867@localhost.localdomain \
--to=james.bottomley@hansenpartnership.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@aracnet.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®