# Re: \[PATCH v3 3/5\] powerpc/mm: add radix\_\_create\_section\_mapping()

- From: Reza Arbab \<hidden\>
- Date: 2016-12-20 15:32:47 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2016/12/9494434
- Thread: https://ratatoskr.run/linuxppc-dev/2016/12/9494347/t.md

```text
On Tue, Dec 20, 2016 at 05:28:40PM +1100, Balbir Singh wrote:
>>+#ifdef CONFIG_MEMORY_HOTPLUG
>>+int radix__create_section_mapping(unsigned long start, unsigned long end)
>>+{
>>+	unsigned long page_size = 1 << mmu_psize_defs[mmu_linear_psize].shift;
>
>Can we refactor bits from radix_init_pgtable() and reuse?

Yes, that's my plan for v4.

-- 
Reza Arbab
```
