Re: [PATCH resend 2/8] sched: core scheduling tagging infrastructure

2021-04-01 Thread Peter Zijlstra
On Wed, Mar 31, 2021 at 09:11:27AM +0200, Peter Zijlstra wrote: > On Tue, Mar 30, 2021 at 02:29:06PM -0700, Josh Don wrote: > > On Mon, Mar 29, 2021 at 2:55 AM Peter Zijlstra wrote: > > > > > > OK, fixed the fails. My tired head made it unconditionally return the > > > cookie-id of 'current' inste

Re: [PATCH resend 2/8] sched: core scheduling tagging infrastructure

2021-03-31 Thread Peter Zijlstra
On Tue, Mar 30, 2021 at 02:29:06PM -0700, Josh Don wrote: > On Mon, Mar 29, 2021 at 2:55 AM Peter Zijlstra wrote: > > > > OK, fixed the fails. My tired head made it unconditionally return the > > cookie-id of 'current' instead of task. Pushed out an update. > > I see you have the per-task and prc

Re: [PATCH resend 2/8] sched: core scheduling tagging infrastructure

2021-03-30 Thread Josh Don
On Mon, Mar 29, 2021 at 2:55 AM Peter Zijlstra wrote: > > OK, fixed the fails. My tired head made it unconditionally return the > cookie-id of 'current' instead of task. Pushed out an update. I see you have the per-task and prctl stuff pulled into your tree. I can rebase the compound cookie and c

Re: [PATCH resend 2/8] sched: core scheduling tagging infrastructure

2021-03-29 Thread Peter Zijlstra
On Fri, Mar 26, 2021 at 08:19:57PM -0700, Josh Don wrote: > On Fri, Mar 26, 2021 at 5:10 PM Peter Zijlstra wrote: > > I've spend the past few hours rewriting patches #2 and #3, and adapting > > #4. The thing was working before I added SHARE_FROM back and introduced > > GET, but now I'm seeing a f

Re: [PATCH resend 2/8] sched: core scheduling tagging infrastructure

2021-03-26 Thread Josh Don
Hi Peter, On Fri, Mar 26, 2021 at 5:10 PM Peter Zijlstra wrote: > > On Wed, Mar 24, 2021 at 05:40:14PM -0400, Joel Fernandes (Google) wrote: > > From: Josh Don > > > > A single unsigned long is insufficient as a cookie value for core > > scheduling. We will minimally have cookie values for a per

Re: [PATCH resend 2/8] sched: core scheduling tagging infrastructure

2021-03-26 Thread Peter Zijlstra
On Wed, Mar 24, 2021 at 05:40:14PM -0400, Joel Fernandes (Google) wrote: > From: Josh Don > > A single unsigned long is insufficient as a cookie value for core > scheduling. We will minimally have cookie values for a per-task and a > per-group interface, which must be combined into an overall coo

[PATCH resend 2/8] sched: core scheduling tagging infrastructure

2021-03-24 Thread Joel Fernandes (Google)
From: Josh Don A single unsigned long is insufficient as a cookie value for core scheduling. We will minimally have cookie values for a per-task and a per-group interface, which must be combined into an overall cookie. This patch adds the infrastructure necessary for setting task and group cooki