Re: FOR REVIEW: New x86-64 vsyscall vgetcpu()
From: Andi Kleen
Date: Sat Jun 17 2006 - 02:57:29 EST
> That work could form the basis for a low-impact method of exporting
> the current CPU to user space via a read-only mapped page. I'll admit
> to having zero knowledge of whether this would be workable on anything
> other than ia64.
On x86 per CPU mappings are not really feasible. That is because
the CPU uses the Linux page tables directly and to change them
per CPU you would need to fork them per CPU. That would add so much
complications that I don't even want to think them all through ...
-andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/