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

From: Andi Kleen
Date: Thu Jun 29 2006 - 06:54:31 EST


On Thursday 29 June 2006 01:01, Milena Milenkovic wrote:
> Hi all,
>
> The mmu_cr4_features variable was "unexported" in 2.6.12 kernel
> (A patch submitted by Adrian Bunk, [2.6 patch] unexport mmu_cr4_features).

Normal policy is to unexport symbols that are not used in the core
kernel.

However I think there is a deprecation policy with prior
warning that might not have been followed here.

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


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