lkml.org 
[lkml]   [2021]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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?

\
 
 \ /
  Last update: 2021-02-04 15:05    [W:0.439 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site