Re: [net-next PATCH v3 5/8] net: Track start of busy loop instead of when it should end

From: Eric Dumazet
Date: Fri Mar 24 2017 - 23:34:35 EST


On Fri, 2017-03-24 at 10:08 -0700, Alexander Duyck wrote:
> From: Alexander Duyck <alexander.h.duyck@xxxxxxxxx>
>
> This patch flips the logic we were using to determine if the busy polling
> has timed out. The main motivation for this is that we will need to
> support two different possible timeout values in the future and by
> recording the start time rather than when we would want to end we can focus
> on making the end_time specific to the task be it epoll or socket based
> polling.
>
> Signed-off-by: Alexander Duyck <alexander.h.duyck@xxxxxxxxx>
> ---


Acked-by: Eric Dumazet <edumazet@xxxxxxxxxx>

Thanks guys !