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

From: Peter Zijlstra
Date: Thu Sep 01 2016 - 06:06:54 EST


On Tue, Aug 30, 2016 at 11:32:16AM -0400, Chris Metcalf wrote:
> On 8/30/2016 3:58 AM, Peter Zijlstra wrote:

> >What !? I really don't get this, what are you waiting for? Why is
> >rescheduling making things better.
>
> We need to wait for the last dyntick to fire before we can return to
> userspace. There are plenty of options as to what we can do in the
> meanwhile.

Why not keep your _TIF_TASK_ISOLATION_FOO flag set and re-enter the
loop?

I really don't see how setting TIF_NEED_RESCHED is helping anything.