Re: [PATCH AUTOSEL 6.2 26/53] netpoll: Remove 4s sleep during carrier detection

From: Sasha Levin
Date: Tue Feb 28 2023 - 21:10:36 EST


On Mon, Feb 27, 2023 at 10:15:32AM -0800, Jakub Kicinski wrote:
On Sun, 26 Feb 2023 09:44:18 -0500 Sasha Levin wrote:
From: Breno Leitao <leitao@xxxxxxxxxx>

[ Upstream commit d8afe2f8a92d2aac3df645772f6ee61b0b2fc147 ]

This patch removes the msleep(4s) during netpoll_setup() if the carrier
appears instantly.

Here are some scenarios where this workaround is counter-productive in
modern ages:

Potential behavior change, can we wait 4 weeks, until it's been
in a couple of -rcs?

Dropped for now, will revisit in a few weeks. Thanks!

--
Thanks,
Sasha