mbox series

[iproute2-next,v2,0/2] Add copy-on-fork to get sys command

Message ID 20210429064803.58458-1-galpress@amazon.com (mailing list archive)
Headers show
Series Add copy-on-fork to get sys command | expand

Message

Gal Pressman April 29, 2021, 6:48 a.m. UTC
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(-)

Comments

David Ahern May 3, 2021, 2:44 p.m. UTC | #1
On 4/29/21 12:48 AM, Gal Pressman wrote:
> 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(-)
> 

applied to iproute2-next