[PATCH] 2.3.40: <linux/linkage.h> generates incorrect cache alignments
Alan Cox
alan en lxorguk.ukuu.org.uk
Jue Ene 27 18:30:01 CST 2000
> +#if defined(CONFIG_X86) && !defined(CONFIG_M386)
> +#define __ALIGN .align L1_CACHE_BYTES,0x90
> +#if L1_CACHE_BYTES == 32
> +#define __ALIGN_STR ".align 32,0x90"
> +#else
> +#define __ALIGN_STR ".align 16,0x90"
> +#endif
> +#else
Please dont do this without doing a complete set of benchmarks on a variety
of machines. On the K7 at least the cache footprint seems to outweigh the
alignment values in general.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
Más información sobre la lista de distribución Ayuda