summaryrefslogtreecommitdiff
path: root/include/linux/percpu.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-08-14 10:00:52 +0400
committerTejun Heo <tj@kernel.org>2009-08-14 10:00:52 +0400
commit6563297ceafab6bbcc931b52e2a9e660fbb21fb2 (patch)
treebcd5593a9b3088f609adc26185b179ff22b45535 /include/linux/percpu.h
parentca23e405e06d5fffb005df004c72781f76062f51 (diff)
downloadlinux-6563297ceafab6bbcc931b52e2a9e660fbb21fb2.tar.xz
percpu: use group information to allocate vmap areas sparsely
ai->groups[] contains which units need to be put consecutively and at what offset from the chunk base address. Compile this information into pcpu_group_offsets[] and pcpu_group_sizes[] in pcpu_setup_first_chunk() and use them to allocate sparse vm areas using pcpu_get_vm_areas(). This will be used to allow directly using sparse NUMA memories as percpu areas. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Nick Piggin <npiggin@suse.de>
Diffstat (limited to 'include/linux/percpu.h')
0 files changed, 0 insertions, 0 deletions