From: john stultz <johnstul@us.ibm.com>
To: "Luck, Tony" <tony.luck@intel.com>
Cc: linux-arch@vger.kernel.org
Subject: Re: Request for feedback on Generic Timeofday Subsystem (B20)
Date: Tue, 07 Mar 2006 15:01:58 -0800 [thread overview]
Message-ID: <1141772520.21582.36.camel@leatherman> (raw)
In-Reply-To: <20060307224028.GA31872@agluck-lia64.sc.intel.com>
On Tue, 2006-03-07 at 14:40 -0800, Luck, Tony wrote:
> > While if its a deal breaker, I'm ok with adding those raw access info
> > back into the structure, I'd first ask why ia64 must use this very
> > constrained fsyscall method instead of something more flexible where it
> > doesn't have to be written in asm like vsyscall/VDSO which x86-64 and
> > powerpc use?
>
> I can't quite see how gettimeofday() can be correctly implemented
> purely in userspace on a system where there is jitter in the clock source,
> but I'm clueless about how vsyscall/VDSO works.
You are right there. The jitter handling (if I recall, basically a
cmpxchg w/ the last read cycle value to be sure the clocksource doesn't
go backward) wouldn't be doable in userspace, but it seems that would
already be a pretty bad hit on performance. Is it not? And how many
systems actually use unsycned/jittery ITCs instead of alternative mmioed
clocksources?
Regardless, if its really a blocking issue, I'm not opposed to putting
the direct access methods back into the structure, or going with an
alternative solution to make these bits doable. Ingo might have a better
idea for this as well.
Do you have any other issues or questions?
thanks
-john
next prev parent reply other threads:[~2006-03-07 23:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-06 20:15 Request for feedback on Generic Timeofday Subsystem (B20) Luck, Tony
2006-03-07 1:35 ` john stultz
2006-03-07 19:06 ` Luck, Tony
2006-03-07 19:37 ` john stultz
2006-03-07 22:40 ` Luck, Tony
2006-03-07 23:01 ` john stultz [this message]
2006-03-08 21:33 ` Luck, Tony
2006-03-10 1:15 ` john stultz
2006-03-09 18:18 ` Andi Kleen
2006-03-18 0:35 ` john stultz
-- strict thread matches above, loose matches on Subject: below --
2006-03-06 18:01 john stultz
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=1141772520.21582.36.camel@leatherman \
--to=johnstul@us.ibm.com \
--cc=linux-arch@vger.kernel.org \
--cc=tony.luck@intel.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