lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 13 Feb 2024 07:34:18 +0100
From: Eric Dumazet <edumazet@...gle.com>
To: Joe Damato <jdamato@...tly.com>
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org, 
	chuck.lever@...cle.com, jlayton@...nel.org, linux-api@...r.kernel.org, 
	brauner@...nel.org, davem@...emloft.net, alexander.duyck@...il.com, 
	sridhar.samudrala@...el.com, kuba@...nel.org, willemdebruijn.kernel@...il.com, 
	weiwan@...gle.com, David.Laight@...lab.com, arnd@...db.de, sdf@...gle.com, 
	amritha.nambiar@...el.com, Jiri Slaby <jirislaby@...nel.org>, 
	Jonathan Corbet <corbet@....net>, Alexander Viro <viro@...iv.linux.org.uk>, Jan Kara <jack@...e.cz>, 
	Michael Ellerman <mpe@...erman.id.au>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, 
	Nathan Lynch <nathanl@...ux.ibm.com>, Thomas Zimmermann <tzimmermann@...e.de>, 
	Julien Panis <jpanis@...libre.com>, Steve French <stfrench@...rosoft.com>, 
	Palmer Dabbelt <palmer@...belt.com>, "open list:DOCUMENTATION" <linux-doc@...r.kernel.org>, 
	"open list:FILESYSTEMS (VFS and infrastructure)" <linux-fsdevel@...r.kernel.org>
Subject: Re: [PATCH net-next v8 4/4] eventpoll: Add epoll ioctl for epoll_params

On Tue, Feb 13, 2024 at 7:17 AM Joe Damato <jdamato@...tly.com> wrote:
>
> Add an ioctl for getting and setting epoll_params. User programs can use
> this ioctl to get and set the busy poll usec time, packet budget, and
> prefer busy poll params for a specific epoll context.
>
> Parameters are limited:
>   - busy_poll_usecs is limited to <= s32_max
>   - busy_poll_budget is limited to <= NAPI_POLL_WEIGHT by unprivileged
>     users (!capable(CAP_NET_ADMIN))
>   - prefer_busy_poll must be 0 or 1
>   - __pad must be 0
>
> Signed-off-by: Joe Damato <jdamato@...tly.com>
> Acked-by: Stanislav Fomichev <sdf@...gle.com>
> Reviewed-by: Jiri Slaby <jirislaby@...nel.org>

Reviewed-by: Eric Dumazet <edumazet@...gle.com>

Thanks !

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ