Re: Intel P6 vs P7 system call performance

Matti Aarnio (matti.aarnio@zmailer.org)
Tue, 17 Dec 2002 21:59:17 +0200


On Tue, Dec 17, 2002 at 11:37:04AM -0800, Linus Torvalds wrote:
> On Tue, 17 Dec 2002, H. Peter Anvin wrote:
> > Let's see... it works fine on UP and on *most* SMP, and on the ones
> > where it doesn't work you just fill in a system call into the vsyscall
> > slot. It just means that gettimeofday() needs a different vsyscall slot.
>
> The thing is, gettimeofday() isn't _that_ special. It's just not worth a
> vsyscall of it's own, I feel. Where do you stop? Do we do getpid() too?
> Just because we can?

clone() -- which doesn't really like anybody using stack-pointer ?

(I do use gettimeofday() a _lot_, but I have my own userspace
mapped shared segment thingamajingie doing it.. And I write
code that runs on lots of systems, not only at Linux. )

> Linus

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