On Fri, Jan 22, 2021 at 08:17:01PM -0500, Joel Fernandes (Google) wrote: > +/* Request the scheduler to share a core */ > +#define PR_SCHED_CORE_SHARE 59 > +# define PR_SCHED_CORE_CLEAR 0 /* clear core_sched cookie of pid */ > +# define PR_SCHED_CORE_SHARE_FROM 1 /* get core_sched cookie from pid */ > +# define PR_SCHED_CORE_SHARE_TO 2 /* push core_sched cookie to > pid */
Why ? Also, how do I set a unique cookie on myself with this interface?