Re: [PATCH 4/9] sched: Default core-sched policy

From: Peter Zijlstra
Date: Wed Apr 21 2021 - 09:33:23 EST


On Thu, Apr 01, 2021 at 03:10:16PM +0200, Peter Zijlstra wrote:
> Implement default core scheduling policy.
>
> - fork() / clone(): inherit cookie from parent
> - exec(): if cookie then new cookie
>
> Did that exec() thing want to change cookie on suid instead, just like
> perf_event_exit_task() ?

Talk to me about that exec() thing; I still think it's weird. Did we
just want to drop cookie on suid instead?