pci_p2pmem_publish(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is the pci_p2pmem_publish(9) page from the Kernel API Manual β€” and it's literally about publishing the peer-to-peer DMA memory for use by other devices with pci_p2pmem_find() ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

void pci_p2pmem_publish (struct pci_dev *pdev , bool publish );

πŸŽ€ ARGUMENTS πŸŽ€

  • pdev β€” the device with peer-to-peer DMA memory to publish
  • publish β€” set to true to publish the memory, false to unpublish it

🌸 DESCRIPTION 🌸

Published memory can be used by other PCI device drivers for peer-2-peer DMA operations. Non-published memory is reserved for exclusive use of the device driver that registers the peer-to-peer memory.

Like… that's the whole vibe: publish it and other PCI device drivers can use it for peer-2-peer DMA πŸ”₯. Don't publish it and it stays reserved for exclusive use by the driver that registered that peer-to-peer memory β€” periodt πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/pci/p2pdma.c is the home base, and the whole friend group is:


xoxo bestie πŸ’– source/version: ./drivers/pci β€’ October 2026 β€’ manual: pci_p2pmem_publish(9) 🫢✨

πŸ“¦ where this page comes from