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
Also in
linux-mm, lkml
Reply to
Christophe Leroy, 2021-11-25
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
Thread (16 messages) 16 messages, 2 authors, last reply 2021-12-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help