Re: [PATCH] mm/gup: fix GUP-fast fallback for NULL-mapping order-0 folios

From: David Hildenbrand (Arm)

Date: Thu Jun 11 2026 - 03:37:14 EST


On 6/11/26 03:12, Balbir Singh wrote:
> On Thu, Jun 11, 2026 at 10:49:59AM +1000, Alistair Popple wrote:
>> On 2026-06-06 at 02:20 +1000, Zi Yan <ziy@xxxxxxxxxx> wrote...
>>>
>>>
>>> Right, I will work on my solution soon. Meanwhile, this change
>>> is simpler and can be easily back ported.
>>
>> Thanks.
>>
>>> BTW, should it be back ported to older kernels?
>>
>> Yes to any with f002882ca369 ("mm: merge folio_is_secretmem() and
>> folio_fast_pin_allowed() into gup_fast_folio_allowed()") - we have got bug
>> reports as a result of the lowered perf that commit causes.
>>
>> - Alistair
>>
>
> Ping @akpm to pick this up, if there is no objection @david

Fine with me

Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>

--
Cheers,

David