Messages in this thread | | | Date | Wed, 8 Oct 2008 01:37:09 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH] [1/3] Provide rdtscll() asm/msr.h for user space |
| |
On Tue, Oct 07, 2008 at 04:25:00PM -0700, H. Peter Anvin wrote: > >Anyways if you insist I can probably deal without > >but I (and likely others) would think something nasty about you every time > >I have to cut'n'paste that code again. Do you really want to risk that? @) > > If you're really incapable of maintaining a single user-mode header file > with a handful of one-liners in a sane way, then definitely.
These are typical benchmark or test programs which I like to write with as little dependencies as possible because they compile/run on all kinds of systems with often dubious setup.
The other issue is that everyone will have to do this now, which just seems wrong to me.
-Andi (who never got this strange meme which is floating around in the kernel community for some time that cut'n'pasting interfaces into user programs is a sane thing. To me it seems insane.)
-- ak@linux.intel.com
| |