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