WSL2-Linux-Kernel/include/uapi/rdma
Gal Pressman 6cc9e215eb RDMA/nldev: Add copy-on-fork attribute to get sys command
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 70e806e4e6 ("mm: Do early cow for pinned pages during fork() for
ptes") and commit 4eae4efa2c ("hugetlb: do early cow when page pinned on
src mm").

Fixes: 70e806e4e6 ("mm: Do early cow for pinned pages during fork() for ptes")
Fixes: 4eae4efa2c ("hugetlb: do early cow when page pinned on src mm")
Link: https://lore.kernel.org/r/20210418121025.66849-1-galpress@amazon.com
Signed-off-by: Gal Pressman <galpress@amazon.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-04-27 15:33:20 -03:00
..
hfi IB/hfi1: Add accelerated IP capability bit 2020-05-21 11:23:53 -03:00
bnxt_re-abi.h
cxgb4-abi.h
efa-abi.h RDMA/efa: Introduce SRD RNR retry 2020-08-18 14:52:45 -03:00
hns-abi.h RDMA/hns: Add support for XRC on HIP09 2021-03-11 19:51:27 -04:00
i40iw-abi.h
ib_user_ioctl_cmds.h RDMA/uverbs: Add uverbs command for dma-buf based MR registration 2021-01-20 16:07:52 -04:00
ib_user_ioctl_verbs.h RDMA/uverbs: Expose the new GID query API to user space 2020-10-01 21:20:11 -03:00
ib_user_mad.h
ib_user_sa.h
ib_user_verbs.h RDMA: Check attr_mask during modify_qp 2020-10-26 19:27:58 -03:00
mlx4-abi.h
mlx5-abi.h RDMA/mlx5: Return ECE data after modify QP 2020-05-27 16:07:49 -03:00
mlx5_user_ioctl_cmds.h RDMA/mlx5: Expose private query port 2021-04-20 17:00:18 -03:00
mlx5_user_ioctl_verbs.h RDMA/mlx5: Expose private query port 2021-04-20 17:00:18 -03:00
mthca-abi.h
ocrdma-abi.h
qedr-abi.h RDMA/qedr: Add EDPM max size to alloc ucontext response 2020-07-16 16:01:55 -03:00
rdma_netlink.h RDMA/nldev: Add copy-on-fork attribute to get sys command 2021-04-27 15:33:20 -03:00
rdma_user_cm.h RDMA/cma: Provide ECE reject reason 2020-05-27 16:05:05 -03:00
rdma_user_ioctl.h RDMA: rdma_user_ioctl.h: fix a duplicated word + clarify 2020-07-20 16:42:08 -03:00
rdma_user_ioctl_cmds.h
rdma_user_rxe.h RDMA/rxe: Use acquire/release for memory ordering 2020-12-11 19:57:48 -04:00
rvt-abi.h
siw-abi.h
vmw_pvrdma-abi.h RDMA/vmw_pvrdma: Fix network_hdr_type reported in WC 2021-01-19 20:17:27 -04:00