Re: [2.6 PATCH] Exporting mmu_cr4_features again for i386 & x86_64

From: Arjan van de Ven
Date: Thu Jun 29 2006 - 07:02:53 EST



> > However, this variable is needed if a loadable kernel module wants to
> > enable
> > access to performance counters from user space.
>
> Ok I guess it's a reasonable request (although we will likely
> eventually add a standard API for this and then it might
> be removed again)

I kind of disagree that being a reasonable request; there are several
tools (perfmon/oprofile) that do this already without the export, and if
you want another one, adding a very simple API to do just this to the
kernel should not at all be a big deal, just add that to the patch when
submitting the module for inclusion....


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