[ofa-general] ibv_post_send fails when using malloc in a special way

Roland Dreier rdreier at cisco.com
Wed Dec 10 07:26:27 PST 2008


 > This is in the general sense true; that is way we pin down the memory
 > by calling ibv_reg_mr().  Having done this we expect the virtual to
 > physical relationship to remain constant.  However, we are concerned
 > that ibv_reg_mr() does not call madvise() as appropriate, as mentioned
 > in our posting.

I'm not sure how madvise() would have any relevance to your problem,
since as far as I can see you are not using fork().  In any case,
libibverbs will only call madvise() if you call ibv_fork_init() or set
the IBV_FORK_SAFE environment variable.

 - R.



More information about the general mailing list