[igt-dev] [PATCH i-g-t 2/2] runner: Don't wait forever for processes to die

Chris Wilson chris at chris-wilson.co.uk
Tue Dec 3 10:53:51 UTC 2019


Quoting Petri Latvala (2019-12-03 10:44:57)
> While the originally written timeout for process killing (2 seconds)
> was way too short, waiting indefinitely is suboptimal as well. We're
> seeing cases where the test is stuck for possibly hours in
> uninterruptible sleep (IO). Wait a fairly longer selected time period
> of 2 minutes, because even making progress for that long means the
> machine is in bad enough state to require a good kicking and booting.

I'd still vote for a fast exit if we know we have oopsed. No point
waiting 2 minutes for children we know can't die.
-Chris


More information about the igt-dev mailing list