Thread (71 messages) 71 messages, 10 authors, 2025-10-09

Re: [PATCH v2 19/37] mm/gup: remove record_subpages()

From: David Hildenbrand <hidden>
Date: 2025-09-08 15:22:31
Also in: dri-devel, intel-gfx, io-uring, kvm, linux-arm-kernel, linux-crypto, linux-ide, linux-iommu, linux-kselftest, linux-mips, linux-mm, linux-mmc, linux-riscv, linux-s390, linux-scsi, lkml, virtualization

On 08.09.25 17:16, Mark Brown wrote:
On Mon, Sep 01, 2025 at 05:03:40PM +0200, David Hildenbrand wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help