percpu: implement new dynamic percpu allocator
authorTejun Heo <tj@kernel.org>
Fri, 20 Feb 2009 07:29:08 +0000 (16:29 +0900)
committerTejun Heo <tj@kernel.org>
Fri, 20 Feb 2009 07:29:08 +0000 (16:29 +0900)
commitfbf59bc9d74d1fb30b8e0630743aff2806eafcea
tree3f0a7b7cf809a25e27b7a5ba0b16321fdb901801
parent8fc48985006da4ceba24508db64ec77fc0dfe3bb
percpu: implement new dynamic percpu allocator

Impact: new scalable dynamic percpu allocator which allows dynamic
        percpu areas to be accessed the same way as static ones

Implement scalable dynamic percpu allocator which can be used for both
static and dynamic percpu areas.  This will allow static and dynamic
areas to share faster direct access methods.  This feature is optional
and enabled only when CONFIG_HAVE_DYNAMIC_PER_CPU_AREA is defined by
arch.  Please read comment on top of mm/percpu.c for details.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
include/linux/percpu.h
kernel/module.c
mm/Makefile
mm/percpu.c [new file with mode: 0644]