Michael> Will this break libibverbs on older kernels that don't
Michael> have madvise? Maybe test MADV_DONTFORK during library
Michael> startup and set a flag?
All kernels have madvise() -- the only question is whether they
support MADV_DONTFORK. The cost on kernels that don't is a system
call to return -EINVAL.
It might be worth setting a flag on library initialization to save all
the system calls. But maybe not.
- R.
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general