# Re: \[PATCH v2 rebased 5/9\] powerpc/mm: Call radix\_\_arch\_get\_unmapped\_area() from arch\_get\_unmapped\_area()

- From: Nicholas Piggin \<npiggin@gmail.com\>
- Date: 2021-12-01 06:01:09 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2021/12/1592477
- Thread: https://ratatoskr.run/linux-mm/2021/11/1586815/t.md

```text
Excerpts from Christophe Leroy's message of November 26, 2021 3:52 am:
> Instead of setting mm->get_unmapped_area() to either
> arch_get_unmapped_area() or radix__arch_get_unmapped_area(),
> always set it to arch_get_unmapped_area() and call
> radix__arch_get_unmapped_area() from there when radix is enabled.
> 
> To keep radix__arch_get_unmapped_area() static, move it to slice.c
> 
> Do the same with radix__arch_get_unmapped_area_topdown()

Same comment with this one really. It would be better if we can
reuse generic code.

Thanks,
Nick
```
