Messages in this thread | | | Date | Wed, 28 Jun 2006 11:00:58 +0200 | From | Ingo Molnar <> | Subject | Re: [RFC, patch] i386: vgetcpu(), take 2 |
| |
* Andi Kleen <ak@suse.de> wrote:
> On Wednesday 28 June 2006 07:44, Paul Jackson wrote: > > > but my gut feeling is that we should add a proper sys_get_cpu() syscall > > > > Yes - this should be for more or less all arch's. > > The whole point of the original implementation is to do a fast > architecture specific call. A slow generic call isn't very useful.
it's useful in terms of userspace uniformity. It's alot easier to expose such APIs via glibc if there's a generic implementation everywhere. Obviously every arch is encouraged to optimize it into a vsyscall.
Ingo - 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/
| |