lkml.org 
[lkml]   [2004]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] remove cacheline alignment from inode slabs
Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua> wrote:
>
> +ifneq ($(CONFIG_CC_ALIGN_FUNCTIONS),0)
> +CFLAGS += -falign-functions=$(CONFIG_CC_ALIGN_FUNCTIONS)
> +endif
> +ifneq ($(CONFIG_CC_ALIGN_LABELS),0)
> +CFLAGS += -falign-labels=$(CONFIG_CC_ALIGN_LABELS)
> +endif
> +ifneq ($(CONFIG_CC_ALIGN_LOOPS),0)
> +CFLAGS += -falign-loops=$(CONFIG_CC_ALIGN_LOOPS)
> +endif
> +ifneq ($(CONFIG_CC_ALIGN_JUMPS),0)
> +CFLAGS += -falign-jumps=$(CONFIG_CC_ALIGN_JUMPS)
> +endif

When sending optimisation patches, please include information on how
effective the optimisation is. Before and after code sizes would be
appropriate here.

gcc-2.95.x barfs over all four of the above options. Some testing of
$(GCC_VERSION) is needed. That's only set up by arch/i386/Makefile at
present.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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