Messages in this thread |  | | Date | Wed, 15 Nov 2000 12:50:54 -0800 | From | "H. Peter Anvin" <> | Subject | Re: test11-pre5 breaks vmware |
| |
Michel LESPINASSE wrote: > > On Wed, Nov 15, 2000 at 12:12:15PM -0800, H. Peter Anvin wrote: > > Also, if a piece of software needs raw CPUID information (unlike the > > "cooked" one provided by recent kernels) it should use > > /dev/cpu/*/cpuid. > > Is it also OK to use the cpuid opcode in userspace ? (after checking > for its presence with the 0x200000 eflags bit) >
Only on single-CPU systems. What /dev/cpu/*/cpuid gives you is the ability to direct the CPUID request to a particular CPU.
-hpa
-- <hpa@transmeta.com> at work, <hpa@zytor.com> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |