[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yo5thr6nAgNEqJTn@sirena.org.uk>
Date: Wed, 25 May 2022 18:55:18 +0100
From: Mark Brown <broonie@...nel.org>
To: Eddie James <eajames@...ux.ibm.com>
Cc: linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] spi: fsi: Fix spurious timeout
On Wed, May 25, 2022 at 11:58:51AM -0500, Eddie James wrote:
> I have one concern still, that if the kernel is very busy, it may
> schedule other work for the entire timeout period between assigning
> "end" and checking if timed out in the do/while loop... Is it worth
> worrying about this case?
I'm not sure we can entirely avoid there being a gap, but with it being
a busy loop you'd have to be very unlucky to hit that case. If you come
up with a fix that'd be nice.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists