Re: asm-x86/msr.h for sanitized headers: clean it or punt it

From: Andi Kleen
Date: Mon Dec 31 2007 - 11:35:00 EST


> can you enumerate which functions need to actually go to userspace then ? the
rdtscl/rdtscll/rdpmc primarily

> __KERNEL__ markings are a crapshoot at the moment. you must also be jumping
> through hoops in order to use the header in the first place since the vanilla
> one wont compile out of the box.

At least the 64bit one or older 32bit one works without hoops. Agreed that the
paravirt changes destroyed it on newer 32bit though. That's an unfortunate
regression.

-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/