Re: [PATCH v3 0/5] powerpc/mm: enable memory hotplug on radix

2016-12-20 Thread Anshuman Khandual
On 12/19/2016 11:28 PM, Reza Arbab wrote: > On Sat, Dec 17, 2016 at 01:38:40AM +1100, Balbir Singh wrote: >> Do we care about alt maps yet? > > Good question. I'll try to see if/how altmaps might need special > consideration here. vmemmap alt-map should be enabled separately and should not be mix

Re: [PATCH v3 0/5] powerpc/mm: enable memory hotplug on radix

2016-12-19 Thread Reza Arbab
On Sat, Dec 17, 2016 at 01:38:40AM +1100, Balbir Singh wrote: Do we care about alt maps yet? Good question. I'll try to see if/how altmaps might need special consideration here. -- Reza Arbab

Re: [PATCH v3 0/5] powerpc/mm: enable memory hotplug on radix

2016-12-16 Thread Balbir Singh
On 16/12/16 06:50, Reza Arbab wrote: > Memory hotplug is leading to hash page table calls, even on radix: > > ... > arch_add_memory > create_section_mapping > htab_bolt_mapping > BUG_ON(!ppc_md.hpte_insert); > > To

[PATCH v3 0/5] powerpc/mm: enable memory hotplug on radix

2016-12-15 Thread Reza Arbab
Memory hotplug is leading to hash page table calls, even on radix: ... arch_add_memory create_section_mapping htab_bolt_mapping BUG_ON(!ppc_md.hpte_insert); To fix, refactor {create,remove}_section_mapping() into hash