Quoting Roland Dreier <[EMAIL PROTECTED]>:
>     Gleb> Roland can you please tell the history behind memory.c?
> 
> This was used for mlock() when that was required.  The reason I left
> it around was that I always thought that the MADV_DONTFORK would be
> handled the same way.
> 
> Probably the best thing to do would be to have libibverbs handle the
> madvise() stuff transparently by default, but perhaps add some hooks
> for more intelligent applications or MPI libraries to do their own thing.

How would the hook look like?

-- 
Michael S. Tsirkin
Staff Engineer, Mellanox Technologies
_______________________________________________
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