Re: [PATCH v4 02/14] mm: Switch mm->get_unmapped_area() to a flag

From: Jarkko Sakkinen
Date: Wed Mar 27 2024 - 10:41:34 EST


On Wed, 2024-03-27 at 02:42 +0000, Edgecombe, Rick P wrote:
> On Tue, 2024-03-26 at 13:57 +0200, Jarkko Sakkinen wrote:
> > In which conditions which path is used during the initialization of
> > mm
> > and why is this the case? It is an open claim in the current form.
>
> There is an arch_pick_mmap_layout() that arch's can have their own
> rules for. There is also a
> generic one. It gets called during exec.
>
> >
> > That would be nice to have documented for the sake of being
> > complete
> > description. I have zero doubts of the claim being untrue.
>
> ...being untrue?
>

I mean I believe the change itself makes sense, it is just not
fully documented in the commit message.

BR, Jarkko