Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
msg/async/rdma: Add fork safe on RDMA #13740
Using forks with RDMA is dangerous, as memory is registered directly to
Signed-off-by: Sarit Zubakov firstname.lastname@example.org
Calling ibv_fork_init() will reduce performance due to an extra system call for every memory registration, and the extra memory allocated to track memory regions. The precise performance impact depends on the workload and usually will not be significant.
we are not registering memory on the data path (fast path), so i think we are ok,