diff options
author | Tejun Heo <tj@kernel.org> | 2010-09-03 18:22:47 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-09-08 11:11:12 +0200 |
commit | 6abad5acac09921f4944af77d3860f82d49f528d (patch) | |
tree | a4c83ef8f2cbb3b345282305a9ba82f06706ec04 /mm | |
parent | vmalloc: pcpu_get/free_vm_areas() aren't needed on UP (diff) | |
download | linux-6abad5acac09921f4944af77d3860f82d49f528d.tar.xz linux-6abad5acac09921f4944af77d3860f82d49f528d.zip |
percpu: reduce PCPU_MIN_UNIT_SIZE to 32k
In preparation of enabling percpu allocator for UP, reduce
PCPU_MIN_UNIT_SIZE to 32k. On UP, the first chunk doesn't have to
include static percpu variables and chunk size can be smaller which is
important as UP percpu allocator will use contiguous kernel memory to
populate chunks.
PCPU_MIN_UNIT_SIZE also determines the maximum supported allocation
size but 32k should still be enough.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Christoph Lameter <cl@linux.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions