Re: [RFC][PATCH v2 0/5] sched: User Managed Concurrency Groups

From: Steven Rostedt
Date: Fri Jan 21 2022 - 13:01:57 EST


On Thu, 20 Jan 2022 16:55:17 +0100
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> Latest version, many changes since last time, still under heavy discussion.
>
> Seems to work with the test-case I have (below), but that still has a few gaps,
> coverage wise.

Nice work, Peter.

>
> Still haven't done the SMP wakeup thing, finally get the idea with
> worker-timeouts but haven't yet implemented that.
>
> Happy hacking..
>
> ----
>

Should the below be added to samples/ ?

-- Steve

> #define _GNU_SOURCE
> #include <unistd.h>
> #include <sys/types.h>
> #include <sys/syscall.h>
> #include <pthread.h>
> #include <stdio.h>
> #include <stdlib.h>
> #include <errno.h>
> #include <signal.h>

[..]