Re: [PATCH resend 5/8] sched: cgroup cookie API for core scheduling

2021-03-30 Thread Josh Don
On Tue, Mar 30, 2021 at 2:29 AM Peter Zijlstra wrote: > > On Wed, Mar 24, 2021 at 05:40:17PM -0400, Joel Fernandes (Google) wrote: > > > + > > > + if (!tg->core_tagged && val) { > > > + /* Tag is being set. Check ancestors and descendants. */ > > > + if

Re: [PATCH resend 5/8] sched: cgroup cookie API for core scheduling

2021-03-30 Thread Peter Zijlstra
*sigh*, +tj On Tue, Mar 30, 2021 at 11:23:10AM +0200, Peter Zijlstra wrote: > On Wed, Mar 24, 2021 at 05:40:17PM -0400, Joel Fernandes (Google) wrote: > > From: Josh Don > > > > This adds the API to set/get the cookie for a given cgroup. This > > interface lives at cgroup/cpu.core_tag. > > >

Re: [PATCH resend 5/8] sched: cgroup cookie API for core scheduling

2021-03-30 Thread Peter Zijlstra
On Wed, Mar 24, 2021 at 05:40:17PM -0400, Joel Fernandes (Google) wrote: > From: Josh Don > > This adds the API to set/get the cookie for a given cgroup. This > interface lives at cgroup/cpu.core_tag. > > The cgroup interface can be used to toggle a unique cookie value for all > descendent

[PATCH resend 5/8] sched: cgroup cookie API for core scheduling

2021-03-24 Thread Joel Fernandes (Google)
From: Josh Don This adds the API to set/get the cookie for a given cgroup. This interface lives at cgroup/cpu.core_tag. The cgroup interface can be used to toggle a unique cookie value for all descendent tasks, preventing these tasks from sharing with any others. See