| Date | Thu, 4 Feb 2021 14:57:39 +0100 | From | Peter Zijlstra <> | Subject | Re: [PATCH v10 2/5] sched: CGroup tagging interface for core scheduling |
| |
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?
|