* [PATCH] x86: reduce back the alignment of the per-CPU data section
@ 2011-02-09 8:22 Jan Beulich
2011-02-09 8:47 ` Alexander van Heukelum
2011-02-10 14:43 ` [tip:x86/asm] x86: Reduce " tip-bot for Jan Beulich
0 siblings, 2 replies; 3+ messages in thread
From: Jan Beulich @ 2011-02-09 8:22 UTC (permalink / raw)
To: mingo, tglx, hpa; +Cc: heukelum, linux-kernel
This complements commit 47f19a0814e80e1d4e5c17d61b70fca85ea09162,
reverting one leftover of fe8e0c25cad28e8858ecfa5863333c70685a6811.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Alexander van Heukelum <heukelum@fastmail.fm>
---
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);
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] x86: reduce back the alignment of the per-CPU data section
2011-02-09 8:22 [PATCH] x86: reduce back the alignment of the per-CPU data section Jan Beulich
@ 2011-02-09 8:47 ` Alexander van Heukelum
2011-02-10 14:43 ` [tip:x86/asm] x86: Reduce " tip-bot for Jan Beulich
1 sibling, 0 replies; 3+ messages in thread
From: Alexander van Heukelum @ 2011-02-09 8:47 UTC (permalink / raw)
To: Jan Beulich, Ingo Molnar, Thomas Gleixner, H. Peter Anvin; +Cc: linux-kernel
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@fastmail.fm>
Greetings,
Alexander
On Wed, 09 Feb 2011 08:22 +0000, "Jan Beulich" <JBeulich@novell.com> wrote:
> This complements commit 47f19a0814e80e1d4e5c17d61b70fca85ea09162,
> reverting one leftover of fe8e0c25cad28e8858ecfa5863333c70685a6811.
>
> Signed-off-by: Jan Beulich <jbeulich@novell.com>
> Cc: Alexander van Heukelum <heukelum@fastmail.fm>
>
> ---
> 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);
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip:x86/asm] x86: Reduce back the alignment of the per-CPU data section
2011-02-09 8:22 [PATCH] x86: reduce back the alignment of the per-CPU data section Jan Beulich
2011-02-09 8:47 ` Alexander van Heukelum
@ 2011-02-10 14:43 ` tip-bot for Jan Beulich
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Jan Beulich @ 2011-02-10 14:43 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, torvalds, heukelum, jbeulich, JBeulich,
tglx, mingo
Commit-ID: 94d1ac8b55799be10487fff9766cce6d6628462a
Gitweb: http://git.kernel.org/tip/94d1ac8b55799be10487fff9766cce6d6628462a
Author: Jan Beulich <JBeulich@novell.com>
AuthorDate: Wed, 9 Feb 2011 08:22:46 +0000
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Thu, 10 Feb 2011 13:31:36 +0100
x86: Reduce back the alignment of the per-CPU data section
This complements commit:
47f19a0814e8: percpu: Remove the multi-page alignment facility
reverting one leftover of:
fe8e0c25cad2: x86, 32-bit: Align percpu area and irq stacks to THREAD_SIZE
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Alexander van Heukelum <heukelum@fastmail.fm>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
LKML-Reference: <4D525CE60200007800030EE5@vpn.id2.novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Alexander van Heukelum <heukelum@fastmail.fm>
---
arch/x86/kernel/vmlinux.lds.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
index bf47007..e9f7a3c 100644
--- a/arch/x86/kernel/vmlinux.lds.S
+++ b/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);
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-10 14:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-09 8:22 [PATCH] x86: reduce back the alignment of the per-CPU data section Jan Beulich
2011-02-09 8:47 ` Alexander van Heukelum
2011-02-10 14:43 ` [tip:x86/asm] x86: Reduce " tip-bot for Jan Beulich
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.