Skip to content
Commit 89c92151 authored by Tejun Heo's avatar Tejun Heo
Browse files

x86: add embedding percpu first chunk allocator



Impact: add better first percpu allocation for !NUMA

On !NUMA, we can simply allocate contiguous memory and use it for the
first chunk without mapping it into vmalloc area.  As the memory area
is covered by the large page physical memory mapping, it allows the
dynamic perpcu allocator to not add any TLB overhead for the static
percpu area and whatever falls into the first chunk and the
implementation is very simple too.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 5f5d8405
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment