Re: [Patch mm-hotfixes v4] mm/page_vma_mapped: fix device-private PMD handling

From: David Hildenbrand (Arm)

Date: Mon Jun 29 2026 - 04:14:00 EST


On 6/27/26 13:41, Wei Yang wrote:
> On Sat, Jun 27, 2026 at 10:59:16AM +0800, Lance Yang wrote:
>>
>>
>> On 2026/6/27 10:07, Wei Yang wrote:
>> [...]
>>>
>>> Hi David
>>>
>>> I did a little adjustment like below. Want to check with you at first.
>>>
>>>
>>> How about:
>>> const softleaf_t entry = softleaf_from_pmd(pmde);
>>>
>>>
>>> could be removed.
>>>
>>>
>>> The same.
>>>
>>>
>>> How about merge this with above? And put at the first case?
>>>
>>> Below is what it looks like:
>>
>> Why add more churn to a fix with a stable tag? Cleanup can come later no?
>>
>
> OK, will leave it for future cleanup.
>

Right, I tried to make the diff minimal :)

Please send a v5, thanks.

--
Cheers,

David