x86/i386: Put aligned stack-canary in percpu shared_aligned section
authorJeremy Fitzhardinge <jeremy@goop.org>
Thu, 3 Sep 2009 21:31:44 +0000 (14:31 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 4 Sep 2009 05:10:31 +0000 (07:10 +0200)
commit53f824520b6d84ca5b4a8fd71addc91dbf64357e
treefc62733de8040f13cf450b6cae967976da31827b
parent1ea0d14e480c245683927eecc03a70faf06e80c8
x86/i386: Put aligned stack-canary in percpu shared_aligned section

Pack aligned things together into a special section to minimize
padding holes.

Suggested-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Tejun Heo <tj@kernel.org>
LKML-Reference: <4AA035C0.9070202@goop.org>
[ queued up in tip:x86/asm because it depends on this commit:
  x86/i386: Make sure stack-protector segment base is cache aligned ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/processor.h
arch/x86/kernel/cpu/common.c
include/asm-generic/percpu.h
include/linux/percpu-defs.h