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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241102233925.2948-1-hdanton@sina.com>
Date: Sun,  3 Nov 2024 07:39:25 +0800
From: Hillf Danton <hdanton@...a.com>
To: Joe Damato <jdamato@...tly.com>
Cc: netdev@...r.kernel.org,
	edumazet@...gle.com,
	willy@...radead.org,
	Alexander Viro <viro@...iv.linux.org.uk>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v4 5/7] eventpoll: Control irq suspension for prefer_busy_poll

On Sat,  2 Nov 2024 00:52:01 +0000 Martin Karsten <mkarsten@...terloo.ca>
> 
> @@ -2005,8 +2032,10 @@ static int ep_poll(struct eventpoll *ep, struct epoll_event __user *events,
>  			 * trying again in search of more luck.
>  			 */
>  			res = ep_send_events(ep, events, maxevents);
> -			if (res)
> +			if (res) {
> +				ep_suspend_napi_irqs(ep);

Leave napi irq intact in case of -EINTR.

>  				return res;
> +			}
>  		}
>  
>  		if (timed_out)
> -- 
> 2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ