[PATCHSET percpu#for-next] percpu: convert ia64 to dynamic percpu and drop the old one, take#2

From: Tejun Heo
Date: Wed Sep 23 2009 - 01:08:07 EST


Hello, all.

This is the second take of convert-ia64-to-dynamic-percpu patchset.
Changes from the last take[L] are

* 0001 now updates ia64 to not define VMALLOC_END as a macro to
vmalloc_end instead of disallowing vmalloc_end as a variable name as
suggested by Christoph.

* 0002 added to initialize cpu maps early. This is necessary to get
contig memory model working.

* 0004 updated so that dyn_size is calculated correctly for contig
model.

This patchset contains the following five patches.

0001-ia64-don-t-alias-VMALLOC_END-to-vmalloc_end.patch
0002-ia64-initialize-cpu-maps-early.patch
0003-ia64-allocate-percpu-area-for-cpu0-like-percpu-areas.patch
0004-ia64-convert-to-dynamic-percpu-allocator.patch
0005-percpu-kill-legacy-percpu-allocator.patch

0001 is misc prep to avoid macro / local variable collision. 0002
makes ia64 arch code initialize cpu possible and present maps before
memory initialization. 0003 makes ia64 allocate percpu area for cpu0
in the same way it does for other cpus. 0004 converts ia64 to dynamic
percpu allocator and 0005 drops now unused legacy allocator.

Contig memory model was tested on a 16p Tiger4 machine. Discontig and
sparse tested on 4-way SGI altix. ski seems to be happy with contig
up/smp.

This patchset is available in the following git tree.

git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu.git convert-ia64

The new commit ID is dcc91f19c6662b24f1f4e5878d773244f1079724 and it's
on top of today's Linus 7fa07729e439a6184bd824746d06a49cca553f15.

Thanks.

arch/ia64/Kconfig | 3
arch/ia64/kernel/setup.c | 12 --
arch/ia64/kernel/vmlinux.lds.S | 11 +-
arch/ia64/mm/contig.c | 87 ++++++++++++++++----
arch/ia64/mm/discontig.c | 120 +++++++++++++++++++++++++--
include/linux/percpu.h | 24 -----
kernel/module.c | 150 ----------------------------------
mm/Makefile | 4
mm/allocpercpu.c | 177 -----------------------------------------
mm/percpu.c | 2
mm/vmalloc.c | 16 +--
11 files changed, 193 insertions(+), 413 deletions(-)

--
tejun

[L] http://thread.gmane.org/gmane.linux.ports.ia64/20812
--
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/