Messages in this thread | | | Subject | Re: [PATCH] 2.3.40: <linux/linkage.h> generates incorrect cache alignments | Date | Thu, 27 Jan 2000 21:58:36 +0000 (GMT) | From | Alan Cox <> |
| |
> +#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@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |