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.
Attachment:
signature.asc
Description: PGP signature