lkml.org 
[lkml]   [2022]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2022-05-25 19:56    [W:0.060 / U:0.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site