[PATCH v2 19/37] mm/gup: remove record_subpages()
David Hildenbrand
david at redhat.com
Mon Sep 8 08:22:24 PDT 2025
On 08.09.25 17:16, Mark Brown wrote:
> On Mon, Sep 01, 2025 at 05:03:40PM +0200, David Hildenbrand wrote:
>> We can just cleanup the code by calculating the #refs earlier,
>> so we can just inline what remains of record_subpages().
>>
>> Calculate the number of references/pages ahead of times, and record them
>> only once all our tests passed.
>
> I'm seeing failures in kselftest-mm in -next on at least Raspberry Pi 4
> and Orion O6 which bisect to this patch. I'm seeing a NULL pointer
> dereference during the GUP test (which isn't actually doing anything as
> I'm just using a standard defconfig rather than one with the mm
> fragment):
On which -next label are you on? next-20250908 should no longer have
that commit.
--
Cheers
David / dhildenb
More information about the linux-riscv
mailing list