[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YIpcZzOG/z2sbn/q@unreal>
Date: Thu, 29 Apr 2021 10:12:39 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Gal Pressman <galpress@...zon.com>
Cc: David Ahern <dsahern@...il.com>, linux-rdma@...r.kernel.org,
netdev@...r.kernel.org, Yossi Leybovich <sleybo@...zon.com>,
Alexander Matushevsky <matua@...zon.com>,
Jason Gunthorpe <jgg@...dia.com>
Subject: Re: [PATCH iproute2-next v2 2/2] rdma: Add copy-on-fork to get sys
command
On Thu, Apr 29, 2021 at 09:48:03AM +0300, Gal Pressman wrote:
> The new attribute indicates that the kernel copies DMA pages on fork,
> hence fork support through madvise and MADV_DONTFORK is not needed.
>
> If the attribute is not reported (expected on older kernels),
> copy-on-fork is disabled.
>
> Example:
> $ rdma sys
> netns shared copy-on-fork on
>
> Signed-off-by: Gal Pressman <galpress@...zon.com>
> ---
> rdma/sys.c | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
Thanks,
Acked-by: Leon Romanovsky <leonro@...dia.com>
Powered by blists - more mailing lists