[openib-general] RE: registering read-only memory

Roland Dreier roland at topspin.com
Thu May 26 19:14:57 PDT 2005


    Grant> Sorry - why do you need the physical address of memory?
    Grant> Did you mean you need the DMA address?

We don't really need the physical address.  The userspace verbs do
get_user_pages() on a userspace virtual address to get a bunch of
struct page *s, and then pass those to dma_map_sg() to get DMA
addresses.  It's all totally kosher...

 - R.




More information about the general mailing list