Re: [PATCH] 2.3.40: <linux/linkage.h> generates incorrect cache alignments

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Jan 27 2000 - 16:58:36 EST

  • Next message: Manfred Spraul: "Re: [patch] smp-2.3.41-A1, (was: Re: BUG? i386 TLB Flushing)"

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



    This archive was generated by hypermail 2b29 : Thu Jan 27 2000 - 19:28:25 EST