[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aFHal-sGQfrdpztL@x1.local>
Date: Tue, 17 Jun 2025 17:13:59 -0400
From: Peter Xu <peterx@...hat.com>
To: David Laight <david.laight.linux@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org, kvm@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Alex Williamson <alex.williamson@...hat.com>,
Zi Yan <ziy@...dia.com>, Jason Gunthorpe <jgg@...dia.com>,
Alex Mastro <amastro@...com>, David Hildenbrand <david@...hat.com>,
Nico Pache <npache@...hat.com>
Subject: Re: [PATCH 1/5] mm: Deduplicate mm_get_unmapped_area()
On Mon, Jun 16, 2025 at 09:01:34AM +0100, David Laight wrote:
> On Fri, 13 Jun 2025 09:41:07 -0400
> Peter Xu <peterx@...hat.com> wrote:
>
> > Essentially it sets vm_flags==0 for mm_get_unmapped_area_vmflags(). Use
> > the helper instead to dedup the lines.
>
> Would it make more sense to make it an inline wrapper?
> Moving the EXPORT_SYMBOL to mm_get_unmapped_area_vmflags.
Yes, makes sense to me. However that seems to be better justified as a
separate patch.
If you wouldn't mind, I hope we can land the minimum version of the series
first without expanding too much of what it touches. I already start to
regret having the first two patches, but since I've posted, I'll carry them
as of now. Please let me know if you have strong feelings.
Thanks a lot for taking a look,
--
Peter Xu
Powered by blists - more mailing lists