[PATCH] [POWERPC] vdso: Fixes for cache line sizes

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Nov 15 07:28:22 EST 2007


On Wed, 2007-11-14 at 13:24 -0600, Olof Johansson wrote:
> [POWERPC] vdso: Fixes for cache line sizes
> 
> Current VDSO implementation is hardcoded to 128 byte cachelines, which
> only works on IBM's 64-bit processors.
> 
> Convert it to get the line sizes out of vdso_data instead, similar to
> how the ppc64 in-kernel cache flush does it.

Please call the fields "block size" not "line size". There are subtle
differences and per architecture, it should really be block size.
> 
> Signed-off-by: Olof Johansson <olof at lixom.net>
> 
> ---
> Paul, this is needed to make for example the IBM jvm run on pa6t. Please
> include as bugfix for 2.6.24.

Heh, they use the vdso for flushes ? I didn't know that !

Ben.




More information about the Linuxppc-dev mailing list