From: Tejun Heo Date: Fri, 14 Aug 2009 06:00:52 +0000 (+0900) Subject: percpu: use group information to allocate vmap areas sparsely X-Git-Tag: v2.6.32-rc1~676^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6563297ceafab6bbcc931b52e2a9e660fbb21fb2;p=pandora-kernel.git 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 Cc: Nick Piggin --- Reading git-diff-tree failed