This is the userspace part for the new copy-on-fork attribute added to the get sys netlink command. The new attribute indicates that the kernel copies DMA pages on fork, hence fork support through madvise and MADV_DONTFORK is not needed. Kernel series was merged: https://lore.kernel.org/linux-rdma/20210418121025.66849-1-galpress@xxxxxxxxxx/ Changelog - v1->v2: https://lore.kernel.org/linux-rdma/20210428114231.96944-1-galpress@xxxxxxxxxx/ * Rebase kernel headers * Print attributes on the same line * Simplify if statement Thanks Gal Pressman (2): rdma: update uapi headers rdma: Add copy-on-fork to get sys command rdma/include/uapi/rdma/rdma_netlink.h | 3 +++ rdma/sys.c | 11 ++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) -- 2.31.1