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

Balbir Singh bsingharora at gmail.com
Sat Dec 17 01:38:40 AEDT 2016



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 fix, refactor {create,remove}_section_mapping() into hash__ and radix__
> variants. Implement the radix versions by borrowing from existing vmemmap
> and x86 code.
> 
> This passes basic verification of plugging and removing memory, but this 
> stuff is tricky and I'd appreciate extra scrutiny of the series for 
> correctness--in particular, the adaptation of remove_pagetable() from x86.

On quick glance everything seemed alright to me. I'll review each patch and Ack/provide comments.
Do we care about alt maps yet?

Balbir Singh.




More information about the Linuxppc-dev mailing list