netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2-next v2 0/2] Add copy-on-fork to get sys command
@ 2021-04-29  6:48 Gal Pressman
  2021-04-29  6:48 ` [PATCH iproute2-next v2 1/2] rdma: update uapi headers Gal Pressman
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Gal Pressman @ 2021-04-29  6:48 UTC (permalink / raw)
  To: David Ahern
  Cc: linux-rdma, netdev, Yossi Leybovich, Alexander Matushevsky,
	Leon Romanovsky, Jason Gunthorpe, Gal Pressman

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@amazon.com/

Changelog -
v1->v2: https://lore.kernel.org/linux-rdma/20210428114231.96944-1-galpress@amazon.com/
* 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-05-03 14:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-29  6:48 [PATCH iproute2-next v2 0/2] Add copy-on-fork to get sys command Gal Pressman
2021-04-29  6:48 ` [PATCH iproute2-next v2 1/2] rdma: update uapi headers Gal Pressman
2021-04-29  7:13   ` Leon Romanovsky
2021-04-29  6:48 ` [PATCH iproute2-next v2 2/2] rdma: Add copy-on-fork to get sys command Gal Pressman
2021-04-29  7:12   ` Leon Romanovsky
2021-05-03 14:44 ` [PATCH iproute2-next v2 0/2] " David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).