[ofa-general] Registration of Shared memory with read only permission fails

Dotan Barak dotanb at dev.mellanox.co.il
Sun Dec 30 01:46:36 PST 2007


Hi.

I allocated a shared memory with read only permission and tried to 
register it
(as read only memory) and failed.
(in the kernel level: drivers/infiniband/core/umem.c, function 
get_user_pages failed)

Attached is a short code that reproduces this error.

Is this is an expected behavior?

thanks
Dotan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: reg_mr.c
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20071230/ccff87c6/attachment.c>


More information about the general mailing list