[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250722134717.b8c9b09b8915b552447cb419@linux-foundation.org>
Date: Tue, 22 Jul 2025 13:47:17 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Dev Jain <dev.jain@....com>
Cc: david@...hat.com, ziy@...dia.com, baolin.wang@...ux.alibaba.com,
lorenzo.stoakes@...cle.com, Liam.Howlett@...cle.com, npache@...hat.com,
ryan.roberts@....com, baohua@...nel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/3] mm: add get_and_clear_ptes() and clear_ptes()
On Tue, 22 Jul 2025 20:35:57 +0530 Dev Jain <dev.jain@....com> wrote:
> Let's add variants to be used where "full" does not apply -- which will
> be the majority of cases in the future. "full" really only applies if
> we are about to tear down a full MM.
>
> Use get_and_clear_ptes() in existing code, clear_ptes() users will
> be added next.
>
> Should we make these inline functions instead and add separate docs?
inlined functions would be preferable.
> Probably not worth it for now.
Well, as David has called for a v4 I suggest you make that change.
Thanks, I'll queue the series in mm-new for a bit of testing.
Powered by blists - more mailing lists