Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-02-04 Thread chin
At 2021-02-04 16:01:57, "Vincent Guittot" wrote: >On Tue, 2 Feb 2021 at 08:56, chin wrote: >> >> >> >> >> At 2021-01-13 16:30:14, "Vincent Guittot" wrote: >> >On Wed, 13 Jan 2021 at 04:14, chin wrote: >> >> >> >> >> >> >> >> >> >> At 2021-01-12 16:18:51, "Vincent Guittot" >> >> wrote: >> >>

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-02-04 Thread Jiang Biao
Hi, Vincent On Thu, 4 Feb 2021 at 16:04, Vincent Guittot wrote: > > On Tue, 2 Feb 2021 at 08:56, chin wrote: > > > > > > > > > > At 2021-01-13 16:30:14, "Vincent Guittot" > > wrote: > > >On Wed, 13 Jan 2021 at 04:14, chin wrote: > > >> > > >> > > >> > > >> > > >> At 2021-01-12 16:18:51, "Vinc

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-02-04 Thread Vincent Guittot
On Thu, 4 Feb 2021 at 09:54, chin wrote: > > > At 2021-02-04 16:01:57, "Vincent Guittot" wrote: > >On Tue, 2 Feb 2021 at 08:56, chin wrote: > >> > >> > >> > >> > >> At 2021-01-13 16:30:14, "Vincent Guittot" > >> wrote: > >> >On Wed, 13 Jan 2021 at 04:14, chin wrote: > >> >> > >> >> > >> >> >

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-02-04 Thread Vincent Guittot
On Thu, 4 Feb 2021 at 04:57, Jiang Biao wrote: > > Hi, > > On Wed, 3 Feb 2021 at 19:17, chin wrote: > > > > > > > > > > At 2021-02-02 23:54:15, "Vincent Guittot" > > wrote: > > >On Tue, 2 Feb 2021 at 08:56, chin wrote: > > >> > > >> > > >> > > >> > > >> At 2021-01-13 16:30:14, "Vincent Guittot

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-02-04 Thread Vincent Guittot
On Tue, 2 Feb 2021 at 08:56, chin wrote: > > > > > At 2021-01-13 16:30:14, "Vincent Guittot" wrote: > >On Wed, 13 Jan 2021 at 04:14, chin wrote: > >> > >> > >> > >> > >> At 2021-01-12 16:18:51, "Vincent Guittot" > >> wrote: > >> >On Tue, 12 Jan 2021 at 07:59, chin wrote: > >> >> > >> >> > >>

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-02-03 Thread Jiang Biao
Hi, On Wed, 3 Feb 2021 at 19:17, chin wrote: > > > > > At 2021-02-02 23:54:15, "Vincent Guittot" wrote: > >On Tue, 2 Feb 2021 at 08:56, chin wrote: > >> > >> > >> > >> > >> At 2021-01-13 16:30:14, "Vincent Guittot" > >> wrote: > >> >On Wed, 13 Jan 2021 at 04:14, chin wrote: > >> >> > >> >> >

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-02-03 Thread chin
At 2021-02-02 23:54:15, "Vincent Guittot" wrote: >On Tue, 2 Feb 2021 at 08:56, chin wrote: >> >> >> >> >> At 2021-01-13 16:30:14, "Vincent Guittot" wrote: >> >On Wed, 13 Jan 2021 at 04:14, chin wrote: >> >> >> >> >> >> >> >> >> >> At 2021-01-12 16:18:51, "Vincent Guittot" >> >> wrote: >> >

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-02-02 Thread Vincent Guittot
On Tue, 2 Feb 2021 at 08:56, chin wrote: > > > > > At 2021-01-13 16:30:14, "Vincent Guittot" wrote: > >On Wed, 13 Jan 2021 at 04:14, chin wrote: > >> > >> > >> > >> > >> At 2021-01-12 16:18:51, "Vincent Guittot" > >> wrote: > >> >On Tue, 12 Jan 2021 at 07:59, chin wrote: > >> >> > >> >> > >>

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-02-02 Thread chin
At 2021-01-13 16:30:14, "Vincent Guittot" wrote: >On Wed, 13 Jan 2021 at 04:14, chin wrote: >> >> >> >> >> At 2021-01-12 16:18:51, "Vincent Guittot" wrote: >> >On Tue, 12 Jan 2021 at 07:59, chin wrote: >> >> >> >> >> >> >> >> >> >> At 2021-01-11 19:04:19, "Vincent Guittot" >> >> wrote: >>

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-01-13 Thread Vincent Guittot
On Wed, 13 Jan 2021 at 04:14, chin wrote: > > > > > At 2021-01-12 16:18:51, "Vincent Guittot" wrote: > >On Tue, 12 Jan 2021 at 07:59, chin wrote: > >> > >> > >> > >> > >> At 2021-01-11 19:04:19, "Vincent Guittot" > >> wrote: > >> >On Mon, 11 Jan 2021 at 09:27, chin wrote: > >> >> > >> >> > >>

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-01-12 Thread chin
At 2021-01-12 16:18:51, "Vincent Guittot" wrote: >On Tue, 12 Jan 2021 at 07:59, chin wrote: >> >> >> >> >> At 2021-01-11 19:04:19, "Vincent Guittot" wrote: >> >On Mon, 11 Jan 2021 at 09:27, chin wrote: >> >> >> >> >> >> At 2020-12-23 19:30:26, "Vincent Guittot" >> >> wrote: >> >> >On Wed,

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-01-12 Thread chin
At 2021-01-11 19:04:19, "Vincent Guittot" wrote: >On Mon, 11 Jan 2021 at 09:27, chin wrote: >> >> >> At 2020-12-23 19:30:26, "Vincent Guittot" wrote: >> >On Wed, 23 Dec 2020 at 09:32, wrote: >> >> >> >> From: Chen Xiaoguang >> >> >> >> Before a CPU switches from running SCHED_NORMAL task to

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-01-12 Thread Vincent Guittot
On Tue, 12 Jan 2021 at 07:59, chin wrote: > > > > > At 2021-01-11 19:04:19, "Vincent Guittot" wrote: > >On Mon, 11 Jan 2021 at 09:27, chin wrote: > >> > >> > >> At 2020-12-23 19:30:26, "Vincent Guittot" > >> wrote: > >> >On Wed, 23 Dec 2020 at 09:32, wrote: > >> >> > >> >> From: Chen Xiaoguan

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-01-11 Thread chin
At 2020-12-23 19:30:26, "Vincent Guittot" wrote: >On Wed, 23 Dec 2020 at 09:32, wrote: >> >> From: Chen Xiaoguang >> >> Before a CPU switches from running SCHED_NORMAL task to >> SCHED_IDLE task, trying to pull SCHED_NORMAL tasks from other > >Could you explain more in detail why you only care

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-01-11 Thread Vincent Guittot
On Mon, 11 Jan 2021 at 09:27, chin wrote: > > > At 2020-12-23 19:30:26, "Vincent Guittot" wrote: > >On Wed, 23 Dec 2020 at 09:32, wrote: > >> > >> From: Chen Xiaoguang > >> > >> Before a CPU switches from running SCHED_NORMAL task to > >> SCHED_IDLE task, trying to pull SCHED_NORMAL tasks from

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2021-01-11 Thread He Chen
On Wed, Dec 23, 2020 at 12:30:26PM +0100, Vincent Guittot wrote: > On Wed, 23 Dec 2020 at 09:32, wrote: > > > > From: Chen Xiaoguang > > > > Before a CPU switches from running SCHED_NORMAL task to > > SCHED_IDLE task, trying to pull SCHED_NORMAL tasks from other > > Could you explain more in det

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2020-12-27 Thread kernel test robot
Hi, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/sched/core] [also build test ERROR on tip/master linux/master linus/master v5.10 next-20201223] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to us

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2020-12-27 Thread kernel test robot
Hi, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/sched/core] [also build test ERROR on tip/master linux/master linus/master v5.10 next-20201223] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to us

Re: [PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2020-12-23 Thread Vincent Guittot
On Wed, 23 Dec 2020 at 09:32, wrote: > > From: Chen Xiaoguang > > Before a CPU switches from running SCHED_NORMAL task to > SCHED_IDLE task, trying to pull SCHED_NORMAL tasks from other Could you explain more in detail why you only care about this use case in particular and not the general case?

[PATCH] sched: pull tasks when CPU is about to run SCHED_IDLE tasks

2020-12-23 Thread ultrachin
From: Chen Xiaoguang Before a CPU switches from running SCHED_NORMAL task to SCHED_IDLE task, trying to pull SCHED_NORMAL tasks from other CPU by doing load_balance first. Signed-off-by: Chen Xiaoguang Signed-off-by: Chen He --- kernel/sched/fair.c | 5 + 1 file changed, 5 insertions(+)