x86: convert to the new dynamic percpu allocator
Impact: use new dynamic allocator, unified access to static/dynamic
percpu memory
Convert to the new dynamic percpu allocator.
* implement populate_extra_pte() for both 32 and 64
* update setup_per_cpu_areas() to use pcpu_setup_static()
* define __addr_to_pcpu_ptr() and __pcpu_ptr_to_addr()
* define config HAVE_DYNAMIC_PER_CPU_AREA
Signed-off-by:
Tejun Heo <tj@kernel.org>
Showing
- arch/x86/Kconfig 3 additions, 0 deletionsarch/x86/Kconfig
- arch/x86/include/asm/percpu.h 8 additions, 0 deletionsarch/x86/include/asm/percpu.h
- arch/x86/include/asm/pgtable.h 1 addition, 0 deletionsarch/x86/include/asm/pgtable.h
- arch/x86/kernel/setup_percpu.c 40 additions, 22 deletionsarch/x86/kernel/setup_percpu.c
- arch/x86/mm/init_32.c 10 additions, 0 deletionsarch/x86/mm/init_32.c
- arch/x86/mm/init_64.c 19 additions, 0 deletionsarch/x86/mm/init_64.c
Please register or sign in to comment