[ovs-dev] [PATCH v4 1/2] Optimize the poll loop for poll_immediate_wake()

2021-07-20 Thread anton . ivanov
From: Anton Ivanov If we are not obtaining any useful information out of the poll(), such as is a fd busy or not, we do not need to do a poll() if an immediate_wake() has been requested. This cuts out all the pollfd hash additions, forming the poll arguments and the actual poll() after a call to

Re: [ovs-dev] [PATCH v4 1/2] Optimize the poll loop for poll_immediate_wake()

2021-08-02 Thread Gaëtan Rivet
On Tue, Jul 20, 2021, at 17:06, anton.iva...@cambridgegreys.com wrote: > From: Anton Ivanov > > If we are not obtaining any useful information out of the poll(), > such as is a fd busy or not, we do not need to do a poll() if > an immediate_wake() has been requested. > > This cuts out all the po

Re: [ovs-dev] [PATCH v4 1/2] Optimize the poll loop for poll_immediate_wake()

2021-08-03 Thread Anton Ivanov
On 03/08/2021 00:29, Gaëtan Rivet wrote: On Tue, Jul 20, 2021, at 17:06, anton.iva...@cambridgegreys.com wrote: From: Anton Ivanov If we are not obtaining any useful information out of the poll(), such as is a fd busy or not, we do not need to do a poll() if an immediate_wake() has been reque