[PATCH 02/13] PCI/P2PDMA: Fix the warning condition in p2pmem_alloc_mmap()

Bjorn Helgaas helgaas at kernel.org
Wed Jan 7 09:17:24 PST 2026


On Wed, Jan 07, 2026 at 03:39:42PM +0100, Christoph Hellwig wrote:
> On Mon, Dec 22, 2025 at 09:50:18AM -0700, Logan Gunthorpe wrote:
> > > Fixes: b7e282378773 ("mm/mm_init: move p2pdma page refcount initialisation to p2pdma")
> > > Signed-off-by: Hou Tao <houtao1 at huawei.com>
> > 
> > Thanks for the fix
> > 
> > Reviewed-by: Logan Gunthorpe <logang at deltatee.com>
> 
> Can we get these fixes queued up ASAP while discussing the new
> feature?

I assume you mean the first two patches:

  PCI/P2PDMA: Release the per-cpu ref of pgmap when vm_insert_page() fails
  PCI/P2PDMA: Fix the warning condition in p2pmem_alloc_mmap()

I can certainly queue these up.  The second is a warning fix, and the
first fixes a hang that has apparently been around since v6.2
(7e9c7ef83d78 ("PCI/P2PDMA: Allow userspace VMA allocations through
sysfs")).

Given that, I would ordinarily target the v6.20 merge window, but the
"ASAP" suggests more urgency.  Do you want one or both for v6.19?

Bjorn



More information about the Linux-nvme mailing list