Re: [RFC PATCH 1/2] mm: make lazy MMU mode context-aware
From: Kevin Brodsky
Date: Tue Apr 14 2026 - 13:40:41 EST
On 14/04/2026 18:08, Alexander Gordeev wrote:
> On Tue, Apr 14, 2026 at 04:30:10PM +0200, Kevin Brodsky wrote:
>>> * @mm: Address space the ptes represent.
>> Not sure that makes sense, maybe something like "Address space the PTEs
>> belong to"?
>>
>>> * @addr: Address of the first pte.
>> Isn't it the address of the underlying memory rather?
> Will update both and also the clear_not_present_full_ptes()
> comment, where I copied it from.
Oh I hadn't realised those comments came from there, that would be nice,
thanks. A better reference might be a function like clear_ptes(), which
was probably the inspiration for clear_not_present_full_ptes() (but
wording adjustments were needed for the latter since the PTEs don't
point to any memory).
- Kevin