On Wed, Aug 25, 2021 at 10:38:00PM +0900, Tetsuo Handa wrote: > I guess you might want below diff, for reinit_completion() immediately after > complete_all() likely resets completion count before all threads sleeping at > wait_for_completion_timeout() check the completion count. > Use of simple sequence count will be robuster. Yes, this is very simple to what I have locally.