diff options
author | Tejun Heo <tj@kernel.org> | 2009-08-14 15:00:52 +0900 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-08-14 15:00:52 +0900 |
commit | 4518e6a0c038b98be4c480e6f4481e8676bd15dd (patch) | |
tree | 81b222a74951186aa85b5dfddae1fcae3b7e8ea9 /include/linux/percpu.h | |
parent | c8826dd538602d730ed2c18c6753f1bbfa6c4933 (diff) |
x86,percpu: use embedding for 64bit NUMA and page for 32bit NUMA
Embedding percpu first chunk allocator can now handle very sparse unit
mapping. Use embedding allocator instead of lpage for 64bit NUMA.
This removes extra TLB pressure and the need to do complex and fragile
dancing when changing page attributes.
For 32bit, using very sparse unit mapping isn't a good idea because
the vmalloc space is very constrained. 32bit NUMA machines aren't
exactly the focus of optimization and it isn't very clear whether
lpage performs better than page. Use page first chunk allocator for
32bit NUMAs.
As this leaves setup_pcpu_*() functions pretty much empty, fold them
into setup_per_cpu_areas().
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Andi Kleen <andi@firstfloor.org>
Diffstat (limited to 'include/linux/percpu.h')
0 files changed, 0 insertions, 0 deletions