Re: [PATCH] [1/3] Provide rdtscll() asm/msr.h for user space

From: Andi Kleen
Date: Tue Oct 07 2008 - 19:31:18 EST


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