Title: RE: registering read-only memory

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

I saw this this on Suse 9.3 and the memory was like:
static const char *my_string = "Hello world";
defined locally in a function. This produced a VMA with VM_IO set.

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to