summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-02-24 03:57:22 +0100
committerTejun Heo <tj@kernel.org>2009-02-24 03:57:22 +0100
commit8ac837571491e239e64bd87863c1679d8002e8a2 (patch)
treeb001c6513609d86b8ebd1d1a2192054ff14c0443 /mm
parentx86: add embedding percpu first chunk allocator (diff)
downloadlinux-8ac837571491e239e64bd87863c1679d8002e8a2.tar.xz
linux-8ac837571491e239e64bd87863c1679d8002e8a2.zip
x86: add remapping percpu first chunk allocator
Impact: add better first percpu allocation for NUMA On NUMA, embedding allocator can't be used as different units can't be made to fall in the correct NUMA nodes. To use large page mapping, each unit needs to be remapped. However, percpu areas are usually much smaller than large page size and unused space hurts a lot as the number of cpus grow. This allocator remaps large pages for each chunk but gives back unused part to the bootmem allocator making the large pages mapped twice. This adds slightly to the TLB pressure but is much better than using 4k mappings while still being NUMA-friendly. Ingo suggested that this would be the correct approach for NUMA. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions