Re: [PATCH RT 5/8] sched/deadline: Reclaim cpuset bandwidth in .migrate_task_rq()

2019-10-10 Thread Juri Lelli
On 09/10/19 14:12, Scott Wood wrote: > On Wed, 2019-10-09 at 09:27 +0200, Juri Lelli wrote: > > On 09/10/19 01:25, Scott Wood wrote: > > > On Tue, 2019-10-01 at 10:52 +0200, Juri Lelli wrote: > > > > On 30/09/19 11:24, Scott Wood wrote: > > > > > On Mon, 2019-09-30 at 09:12 +0200, Juri Lelli wrote:

Re: [PATCH RT 5/8] sched/deadline: Reclaim cpuset bandwidth in .migrate_task_rq()

2019-10-09 Thread Scott Wood
On Wed, 2019-10-09 at 09:27 +0200, Juri Lelli wrote: > On 09/10/19 01:25, Scott Wood wrote: > > On Tue, 2019-10-01 at 10:52 +0200, Juri Lelli wrote: > > > On 30/09/19 11:24, Scott Wood wrote: > > > > On Mon, 2019-09-30 at 09:12 +0200, Juri Lelli wrote: > > > > > > [...] > > > > > > > > Hummm, I w

Re: [PATCH RT 5/8] sched/deadline: Reclaim cpuset bandwidth in .migrate_task_rq()

2019-10-09 Thread Juri Lelli
On 09/10/19 01:25, Scott Wood wrote: > On Tue, 2019-10-01 at 10:52 +0200, Juri Lelli wrote: > > On 30/09/19 11:24, Scott Wood wrote: > > > On Mon, 2019-09-30 at 09:12 +0200, Juri Lelli wrote: > > > > [...] > > > > > > Hummm, I was actually more worried about the fact that we call > > > > free_old

Re: [PATCH RT 5/8] sched/deadline: Reclaim cpuset bandwidth in .migrate_task_rq()

2019-10-08 Thread Scott Wood
On Tue, 2019-10-01 at 10:52 +0200, Juri Lelli wrote: > On 30/09/19 11:24, Scott Wood wrote: > > On Mon, 2019-09-30 at 09:12 +0200, Juri Lelli wrote: > > [...] > > > > Hummm, I was actually more worried about the fact that we call > > > free_old_ > > > cpuset_bw_dl() only if p->state != TASK_WAKIN

Re: [PATCH RT 5/8] sched/deadline: Reclaim cpuset bandwidth in .migrate_task_rq()

2019-10-01 Thread Juri Lelli
On 30/09/19 11:24, Scott Wood wrote: > On Mon, 2019-09-30 at 09:12 +0200, Juri Lelli wrote: [...] > > Hummm, I was actually more worried about the fact that we call free_old_ > > cpuset_bw_dl() only if p->state != TASK_WAKING. > > Oh, right. :-P Not sure what I had in mind there; we want to cal

Re: [PATCH RT 5/8] sched/deadline: Reclaim cpuset bandwidth in .migrate_task_rq()

2019-09-30 Thread Scott Wood
On Mon, 2019-09-30 at 09:12 +0200, Juri Lelli wrote: > On 27/09/19 11:40, Scott Wood wrote: > > On Fri, 2019-09-27 at 10:11 +0200, Juri Lelli wrote: > > > Hi Scott, > > > > > > On 27/07/19 00:56, Scott Wood wrote: > > > > With the changes to migrate disabling, ->set_cpus_allowed() no > > > > longe

Re: [PATCH RT 5/8] sched/deadline: Reclaim cpuset bandwidth in .migrate_task_rq()

2019-09-30 Thread Juri Lelli
On 27/09/19 11:40, Scott Wood wrote: > On Fri, 2019-09-27 at 10:11 +0200, Juri Lelli wrote: > > Hi Scott, > > > > On 27/07/19 00:56, Scott Wood wrote: > > > With the changes to migrate disabling, ->set_cpus_allowed() no longer > > > gets deferred until migrate_enable(). To avoid releasing the ban

Re: [PATCH RT 5/8] sched/deadline: Reclaim cpuset bandwidth in .migrate_task_rq()

2019-09-27 Thread Scott Wood
On Fri, 2019-09-27 at 10:11 +0200, Juri Lelli wrote: > Hi Scott, > > On 27/07/19 00:56, Scott Wood wrote: > > With the changes to migrate disabling, ->set_cpus_allowed() no longer > > gets deferred until migrate_enable(). To avoid releasing the bandwidth > > while the task may still be executing

Re: [PATCH RT 5/8] sched/deadline: Reclaim cpuset bandwidth in .migrate_task_rq()

2019-09-27 Thread Juri Lelli
Hi Scott, On 27/07/19 00:56, Scott Wood wrote: > With the changes to migrate disabling, ->set_cpus_allowed() no longer > gets deferred until migrate_enable(). To avoid releasing the bandwidth > while the task may still be executing on the old CPU, move the subtraction > to ->migrate_task_rq(). >

Re: [PATCH RT 5/8] sched/deadline: Reclaim cpuset bandwidth in .migrate_task_rq()

2019-09-17 Thread Sebastian Andrzej Siewior
On 2019-07-27 00:56:35 [-0500], Scott Wood wrote: > With the changes to migrate disabling, ->set_cpus_allowed() no longer > gets deferred until migrate_enable(). To avoid releasing the bandwidth > while the task may still be executing on the old CPU, move the subtraction > to ->migrate_task_rq().

[PATCH RT 5/8] sched/deadline: Reclaim cpuset bandwidth in .migrate_task_rq()

2019-07-26 Thread Scott Wood
With the changes to migrate disabling, ->set_cpus_allowed() no longer gets deferred until migrate_enable(). To avoid releasing the bandwidth while the task may still be executing on the old CPU, move the subtraction to ->migrate_task_rq(). Signed-off-by: Scott Wood --- kernel/sched/deadline.c |