[GIT PULL] percpu: changes for 2.6.39-rc1

From: Tejun Heo
Date: Tue Mar 15 2011 - 06:29:33 EST


Hello, Linus.

Please pull from the following git branch to receive percpu changes
for 2.6.39-rc1.

git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu.git for-2.6.39

Only four commits. Two for aligning percpu readmostly subsection to
cacheline to avoid sharing a cacheline with rw data. The other two
from Christoph implement this_cpu_cmpxchg_double() which is a rather
nasty operation which does cmpxchg on two long's, which x86 supports
with cmpxchg{8,16}b instructions. This is used by sl?b allocators to
implement lockless operation and shows measurable performance
improvements in hot paths.

Thanks.

Christoph Lameter (2):
percpu: Generic support for this_cpu_cmpxchg_double()
percpu, x86: Add arch-specific this_cpu_cmpxchg_double() support

Tejun Heo (2):
percpu: align percpu readmostly subsection to cacheline
alpha: use L1_CACHE_BYTES for cacheline size in the linker script

arch/alpha/kernel/vmlinux.lds.S | 5 +-
arch/arm/kernel/vmlinux.lds.S | 2 +-
arch/blackfin/kernel/vmlinux.lds.S | 2 +-
arch/cris/kernel/vmlinux.lds.S | 2 +-
arch/frv/kernel/vmlinux.lds.S | 2 +-
arch/ia64/kernel/vmlinux.lds.S | 2 +-
arch/m32r/kernel/vmlinux.lds.S | 2 +-
arch/mips/kernel/vmlinux.lds.S | 2 +-
arch/mn10300/kernel/vmlinux.lds.S | 2 +-
arch/parisc/kernel/vmlinux.lds.S | 2 +-
arch/powerpc/kernel/vmlinux.lds.S | 2 +-
arch/s390/kernel/vmlinux.lds.S | 2 +-
arch/sh/kernel/vmlinux.lds.S | 2 +-
arch/sparc/kernel/vmlinux.lds.S | 2 +-
arch/tile/kernel/vmlinux.lds.S | 2 +-
arch/um/include/asm/common.lds.S | 2 +-
arch/x86/include/asm/percpu.h | 48 +++++++++++++
arch/x86/kernel/vmlinux.lds.S | 4 +-
arch/x86/lib/Makefile | 1 +
arch/x86/lib/cmpxchg16b_emu.S | 59 ++++++++++++++++
arch/xtensa/kernel/vmlinux.lds.S | 2 +-
include/asm-generic/vmlinux.lds.h | 35 ++++++----
include/linux/percpu.h | 128 ++++++++++++++++++++++++++++++++++++
23 files changed, 279 insertions(+), 33 deletions(-)
create mode 100644 arch/x86/lib/cmpxchg16b_emu.S

--
tejun
--
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/