lkml.org 
[lkml]   [2000]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] 2.3.40: <linux/linkage.h> generates incorrect cache alignments
Date
From
> +#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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.419 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site