From: Ingo Molnar <mingo@elte.hu>
To: "Martin J. Bligh" <mbligh@mbligh.org>
Cc: Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org, Con Kolivas <kernel@kolivas.org>
Subject: Re: 2.6.12-mm1 boot failure on NUMA box.
Date: Sat, 25 Jun 2005 11:09:41 +0200 [thread overview]
Message-ID: <20050625090941.GB27073@elte.hu> (raw)
In-Reply-To: <44570000.1119681732@[10.10.2.4]>
* Martin J. Bligh <mbligh@mbligh.org> wrote:
> > (btw., if the TSC is that unreliable on numaq boxes, shouldnt we disable
> > it for userspace apps too? Or are those hangs purely kernel bugs? In
> > which case it might make sense to debug those a bit more - large-scale
> > TSC unsyncedness is something that could slip in on other hardware too.)
>
> Well it reads reliably. it just reliably reads utter random crap
> (well, across CPUs). Not many things read tsc from userspace, and it
> won't hang I guess .... depends what their expecations are. I do like
> gettimeofday not to go backwards though - that tends to bugger things
> up ;-)
the patch only adds the TSC back for purposes of sched_clock() (whose
call sites are robust against cross-CPU migration) - gettimeofday() is
still using the PIT or HPET.
but i intended this to be an problem-free change - if it causes any
problems i'll switch the code to use gettimeofday() and not the
[thus-]lower-accuracy sched_clock().
Ingo
next prev parent reply other threads:[~2005-06-25 9:10 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-21 5:07 Martin J. Bligh
2005-06-21 6:29 ` Andrew Morton
2005-06-21 14:22 ` Martin J. Bligh
2005-06-21 20:03 ` Andrew Morton
2005-06-24 14:11 ` Martin J. Bligh
2005-06-24 14:14 ` Con Kolivas
2005-06-24 15:31 ` Martin J. Bligh
2005-06-24 17:01 ` Ingo Molnar
2005-06-24 17:09 ` Martin J. Bligh
2005-06-24 19:52 ` Ingo Molnar
2005-06-24 20:08 ` Nish Aravamudan
2005-06-24 20:56 ` Martin J. Bligh
2005-06-25 4:00 ` Ingo Molnar
2005-06-25 6:42 ` Martin J. Bligh
2005-06-25 9:09 ` Ingo Molnar [this message]
2005-06-25 18:08 ` Lee Revell
2005-06-25 21:03 ` Martin J. Bligh
2005-06-25 21:54 ` Lee Revell
2005-06-28 22:09 ` Martin J. Bligh
[not found] <208690000.1119330454@[10.10.2.4].suse.lists.linux.kernel>
2005-06-21 11:31 ` Andi Kleen
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=20050625090941.GB27073@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@osdl.org \
--cc=kernel@kolivas.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@mbligh.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 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®