[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1638338152.00yryi8b39.astroid@bobo.none>
Date: Wed, 01 Dec 2021 16:00:58 +1000
From: Nicholas Piggin <npiggin@...il.com>
To: alex@...ti.fr, Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Christophe Leroy <christophe.leroy@...roup.eu>,
Michael Ellerman <mpe@...erman.id.au>,
Paul Mackerras <paulus@...ba.org>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH v2 rebased 5/9] powerpc/mm: Call
radix__arch_get_unmapped_area() from arch_get_unmapped_area()
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
Powered by blists - more mailing lists