linux-os wrote:
> If one uses x = __get_dma_pages(GFP_KERNEL, nr), finds the physical
> address with b = virt_to_bus(x), then attempts to mmap(,,b,,,) the result
> _does_not_fail_, yet the user ends up with memory ...somewhere
> that is R/W able and WRONG.
I don't think virt_to_bus is the corre
Hello mem-map gurus,
If one uses x = __get_dma_pages(GFP_KERNEL, nr), finds the physical
address with b = virt_to_bus(x), then attempts to mmap(,,b,,,) the result
_does_not_fail_, yet the user ends up with memory ...somewhere
that is R/W able and WRONG.
Yet, if the code executes SetPageReserved
2 matches
Mail list logo