Re: [PATCH] sched/deadline: dome some cleanup for push_dl_task()

2020-07-26 Thread Peng Liu
On Fri, Jul 24, 2020 at 09:14:26AM +0200, Juri Lelli wrote: > Hi, > > On 07/07/20 00:04, Peng Liu wrote: > > 'commit 840d719604b0 ("sched/deadline: Update rq_clock of later_rq when > > pushing a task")' > > introduced the update_rq_clock() to fix the "used-before-update" bug. > > > > 'commit f49

Re: [PATCH] sched/deadline: dome some cleanup for push_dl_task()

2020-07-24 Thread Dietmar Eggemann
On 24/07/2020 17:31, Daniel Bristot de Oliveira wrote: > On 7/24/20 9:14 AM, Juri Lelli wrote: >> Hi, >> >> On 07/07/20 00:04, Peng Liu wrote: >>> 'commit 840d719604b0 ("sched/deadline: Update rq_clock of later_rq when >>> pushing a task")' >>> introduced the update_rq_clock() to fix the "used-bef

Re: [PATCH] sched/deadline: dome some cleanup for push_dl_task()

2020-07-24 Thread Daniel Bristot de Oliveira
On 7/24/20 9:14 AM, Juri Lelli wrote: > Hi, > > On 07/07/20 00:04, Peng Liu wrote: >> 'commit 840d719604b0 ("sched/deadline: Update rq_clock of later_rq when >> pushing a task")' >> introduced the update_rq_clock() to fix the "used-before-update" bug. >> >> 'commit f4904815f97a ("sched/deadline:

Re: [PATCH] sched/deadline: dome some cleanup for push_dl_task()

2020-07-24 Thread Juri Lelli
Hi, On 07/07/20 00:04, Peng Liu wrote: > 'commit 840d719604b0 ("sched/deadline: Update rq_clock of later_rq when > pushing a task")' > introduced the update_rq_clock() to fix the "used-before-update" bug. > > 'commit f4904815f97a ("sched/deadline: Fix double accounting of rq/running bw > in pus

[PATCH] sched/deadline: dome some cleanup for push_dl_task()

2020-07-06 Thread Peng Liu
'commit 840d719604b0 ("sched/deadline: Update rq_clock of later_rq when pushing a task")' introduced the update_rq_clock() to fix the "used-before-update" bug. 'commit f4904815f97a ("sched/deadline: Fix double accounting of rq/running bw in push & pull")' took away the bug source(add_running_bw(