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

Roland Dreier roland at topspin.com
Thu May 26 14:12:24 PDT 2005


    Eli> I'm afraid that won't solve the problem. From some reason the
    Eli> vma of such a region is flagged with VM_IO and that's why
    Eli> get_user_pages() will fail.

Are you sure?  It seems to work for me if I just pass write=0 to
get_user_pages().

 - R.



More information about the general mailing list