Messages in this thread | | | Date | Wed, 12 Jun 2013 15:58:57 +0300 | From | Eliezer Tamir <> | Subject | Re: [PATCH v2 net-next 3/3] net: add socket option for low latency polling |
| |
On 12/06/2013 15:54, Eliezer Tamir wrote: > On 12/06/2013 15:44, Eric Dumazet wrote: >> On Wed, 2013-06-12 at 14:20 +0300, Eliezer Tamir wrote: >>> adds a socket option for low latency polling. >>> This allows overriding the global sysctl value with a per-socket one. >>> >>> Signed-off-by: Eliezer Tamir <eliezer.tamir@linux.intel.com> >>> --- >> >> It seems EXPORT_SYMBOL_GPL(sysctl_net_ll_poll) can now be removed ? > > I think we would need it for poll. > > Poll needs a way that is not dependent on any individual socket to know > how long to busy-wait, since we have to know it before we poll any > individual socket.
Or maybe, since the time constants seem to be different, we should have two separate sysctl values, one for read and another for poll?
(and then the one for read does not need to be exported to modules.)
| |