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 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html