Re: [PATCH v3 10/25] pci/p2pdma: Don't initialise page refcount to one

2024-11-24 Thread Alistair Popple
Bjorn Helgaas writes: > On Fri, Nov 22, 2024 at 12:40:31PM +1100, Alistair Popple wrote: >> The reference counts for ZONE_DEVICE private pages should be >> initialised by the driver when the page is actually allocated by the >> driver allocator, not when they are first created. This is currentl

Re: [PATCH v3 10/25] pci/p2pdma: Don't initialise page refcount to one

2024-11-22 Thread Bjorn Helgaas
On Fri, Nov 22, 2024 at 12:40:31PM +1100, Alistair Popple wrote: > The reference counts for ZONE_DEVICE private pages should be > initialised by the driver when the page is actually allocated by the > driver allocator, not when they are first created. This is currently > the case for MEMORY_DEVICE_