6cc9e215eb
The new attribute indicates that the kernel copies DMA pages on fork, hence libibverbs' fork support through madvise and MADV_DONTFORK is not needed. The introduced attribute is always reported as supported since the kernel has the patch that added the copy-on-fork behavior. This allows the userspace library to identify older vs newer kernel versions. Extra care should be taken when backporting this patch as it relies on the fact that the copy-on-fork patch is merged, hence no check for support is added. Don't backport this patch unless you also have the following series: commit |
||
---|---|---|
.. | ||
hfi | ||
bnxt_re-abi.h | ||
cxgb4-abi.h | ||
efa-abi.h | ||
hns-abi.h | ||
i40iw-abi.h | ||
ib_user_ioctl_cmds.h | ||
ib_user_ioctl_verbs.h | ||
ib_user_mad.h | ||
ib_user_sa.h | ||
ib_user_verbs.h | ||
mlx4-abi.h | ||
mlx5-abi.h | ||
mlx5_user_ioctl_cmds.h | ||
mlx5_user_ioctl_verbs.h | ||
mthca-abi.h | ||
ocrdma-abi.h | ||
qedr-abi.h | ||
rdma_netlink.h | ||
rdma_user_cm.h | ||
rdma_user_ioctl.h | ||
rdma_user_ioctl_cmds.h | ||
rdma_user_rxe.h | ||
rvt-abi.h | ||
siw-abi.h | ||
vmw_pvrdma-abi.h |