Re: [RFC PATCH v0 1/1] powerpc/percpu: Use 2MB atom_size in percpu allocator on radix

2021-07-11 Thread Bharata B Rao
On Mon, Jul 12, 2021 at 01:00:10PM +1000, Nicholas Piggin wrote: > Excerpts from Bharata B Rao's message of July 8, 2021 3:29 pm: > > The atom_size used by percpu allocator on powerpc is currently > > determined by mmu_linear_psize which is initialized to 4K and > > mmu_linear_psize is modified onl

Re: [RFC PATCH v0 1/1] powerpc/percpu: Use 2MB atom_size in percpu allocator on radix

2021-07-11 Thread Nicholas Piggin
Excerpts from Bharata B Rao's message of July 8, 2021 3:29 pm: > The atom_size used by percpu allocator on powerpc is currently > determined by mmu_linear_psize which is initialized to 4K and > mmu_linear_psize is modified only by hash. Till now for radix > the atom_size was defaulting to PAGE_SIZE

[RFC PATCH v0 1/1] powerpc/percpu: Use 2MB atom_size in percpu allocator on radix

2021-07-07 Thread Bharata B Rao
The atom_size used by percpu allocator on powerpc is currently determined by mmu_linear_psize which is initialized to 4K and mmu_linear_psize is modified only by hash. Till now for radix the atom_size was defaulting to PAGE_SIZE(64K). Go for 2MB atom_size on radix if support for 2MB pages exist. 2