Re: [PATCH] x86: reduce back the alignment of the per-CPU data section

From: Alexander van Heukelum
Date: Wed Feb 09 2011 - 03:47:37 EST


Hi Jan,

This is indeed a leftover. Thanks.

This was once done to fix i386-UP, because the irq stacks were part of the percpu area. The stacks are now allocated dynamically.

Acked-by: Alexander van Heukelum <heukelum@xxxxxxxxxxx>

Greetings,
Alexander

On Wed, 09 Feb 2011 08:22 +0000, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:
> This complements commit 47f19a0814e80e1d4e5c17d61b70fca85ea09162,
> reverting one leftover of fe8e0c25cad28e8858ecfa5863333c70685a6811.
>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
> Cc: Alexander van Heukelum <heukelum@xxxxxxxxxxx>
>
> ---
> arch/x86/kernel/vmlinux.lds.S | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- 2.6.38-rc4/arch/x86/kernel/vmlinux.lds.S
> +++ 2.6.38-rc4-x86-percpu-align/arch/x86/kernel/vmlinux.lds.S
> @@ -305,7 +305,7 @@ SECTIONS
> }
>
> #if !defined(CONFIG_X86_64) || !defined(CONFIG_SMP)
> - PERCPU(THREAD_SIZE)
> + PERCPU(PAGE_SIZE)
> #endif
>
> . = ALIGN(PAGE_SIZE);
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/