Re: [PATCH v2 00/10] Copy Offload in NVMe Fabrics with P2P PCI Memory

From: Logan Gunthorpe
Date: Thu Mar 01 2018 - 16:11:55 EST




On 01/03/18 02:03 PM, Benjamin Herrenschmidt wrote:
However, what happens if anything calls page_address() on them ? Some
DMA ops do that for example, or some devices might ...

Although we could probably work around it with some pain, we rely on page_address() and virt_to_phys(), etc to work on these pages. So on x86, yes, it makes it into the linear mapping.

Logan