[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <657b09de9f6a6_14c73d294da@willemb.c.googlers.com.notmuch>
Date: Thu, 14 Dec 2023 08:57:50 -0500
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: Eric Dumazet <edumazet@...gle.com>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: Neal Cardwell <ncardwell@...gle.com>,
Willem de Bruijn <willemb@...gle.com>,
Mina Almasry <almasrymina@...gle.com>,
Chao Wu <wwchao@...gle.com>,
Pavel Begunkov <asml.silence@...il.com>,
netdev@...r.kernel.org,
eric.dumazet@...il.com,
Eric Dumazet <edumazet@...gle.com>
Subject: Re: [PATCH net-next 2/3] net: Namespace-ify sysctl_optmem_max
Eric Dumazet wrote:
> optmem_max being used in tx zerocopy,
> we want to be able to control it on a netns basis.
>
> Following patch changes two tests.
>
> Tested:
>
> oqq130:~# cat /proc/sys/net/core/optmem_max
> 131072
> oqq130:~# echo 1000000 >/proc/sys/net/core/optmem_max
> oqq130:~# cat /proc/sys/net/core/optmem_max
> 1000000
> oqq130:~# unshare -n
> oqq130:~# cat /proc/sys/net/core/optmem_max
> 131072
> oqq130:~# exit
> logout
> oqq130:~# cat /proc/sys/net/core/optmem_max
> 1000000
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Reviewed-by: Willem de Bruijn <willemb@...gle.com>
Powered by blists - more mailing lists