diff options
author | Tejun Heo <tj@kernel.org> | 2009-09-24 11:18:55 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-09-29 02:17:57 +0200 |
commit | a70c691376c7c7f94af41395848066f59501fffd (patch) | |
tree | 8fec04ca394fb1023020c85977d149c83e77e295 /mm | |
parent | percpu: make pcpu_build_alloc_info() clear static buffers (diff) | |
download | linux-a70c691376c7c7f94af41395848066f59501fffd.tar.xz linux-a70c691376c7c7f94af41395848066f59501fffd.zip |
sparc64: implement page mapping percpu first chunk allocator
Implement page mapping percpu first chunk allocator as a fallback to
the embedding allocator. The next patch will make the embedding
allocator check distances between units to determine whether it fits
within the vmalloc area so that this fallback can be used on such
cases.
sparc64 currently has relatively small vmalloc area which makes it
impossible to create any dynamic chunks on certain configurations
leading to percpu allocation failures. This and the next patch should
allow those configurations to keep working until proper solution is
found.
While at it, mark pcpu_cpu_distance() with __init.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions