Re: [PATCH v15 04/13] task_isolation: add initial support

From: Peter Zijlstra
Date: Fri Sep 02 2016 - 12:40:25 EST


On Fri, Sep 02, 2016 at 10:03:52AM -0400, Chris Metcalf wrote:
> Any thoughts on the question of "just re-enter the loop" vs. schedule_timeout()?

schedule_timeout() should only be used for things you do not have
control over, like things outside of the machine.

If you want to actually block running, use that completion you were
talking of.