Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Peter Zijlstra
On Tue, Sep 08, 2015 at 06:17:49PM +0900, Byungchul Park wrote: > even in this case, as i already said, place_entity() should be performed > after restoring a normalized value to the meaningful original value. > IMHO, it is wrong that se->vruntime is assigned with a bonused value >

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Peter Zijlstra
On Tue, Sep 08, 2015 at 06:48:43AM +0800, Wanpeng Li wrote: > On 9/7/15 10:02 PM, Peter Zijlstra wrote: > >Please always Cc at least the person who wrote the lines you modify. > > > >On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: > >>The sleeper task will be normalized when moved from

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Byungchul Park
On Tue, Sep 08, 2015 at 04:45:46PM +0800, Wanpeng Li wrote: > On 9/8/15 4:38 PM, Wanpeng Li wrote: > >On 9/8/15 4:22 PM, Byungchul Park wrote: > >>On Tue, Sep 08, 2015 at 04:04:49PM +0800, Wanpeng Li wrote: > >However, if se->vruntime -= cfs_rq->min_vruntime is positive, the > >behavior is

RE: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread byungchul.park
> -Original Message- > From: Wanpeng Li [mailto:wanpeng...@hotmail.com] > Sent: Tuesday, September 08, 2015 5:46 PM > To: Byungchul Park > Cc: Peter Zijlstra; Ingo Molnar; linux-kernel@vger.kernel.org; > yuyang...@intel.com > Subject: Re: [PATCH] sched: fix lo

RE: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread byungchul.park
> -Original Message- > From: Wanpeng Li [mailto:wanpeng...@hotmail.com] > Sent: Tuesday, September 08, 2015 5:39 PM > To: Byungchul Park > Cc: Peter Zijlstra; Ingo Molnar; linux-kernel@vger.kernel.org; > yuyang...@intel.com > Subject: Re: [PATCH] sched: fix lo

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Wanpeng Li
On 9/8/15 4:38 PM, Wanpeng Li wrote: On 9/8/15 4:22 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 04:04:49PM +0800, Wanpeng Li wrote: However, if se->vruntime -= cfs_rq->min_vruntime is positive, the behavior is different after your patch. e.g. se->vruntime(the relative vruntime in

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Wanpeng Li
On 9/8/15 4:22 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 04:04:49PM +0800, Wanpeng Li wrote: However, if se->vruntime -= cfs_rq->min_vruntime is positive, the behavior is different after your patch. e.g. se->vruntime(the relative vruntime in switched_to_fair()) < min_vruntime -

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Byungchul Park
On Tue, Sep 08, 2015 at 04:04:49PM +0800, Wanpeng Li wrote: > >>However, if se->vruntime -= cfs_rq->min_vruntime is positive, the > >>behavior is different after your patch. e.g. se->vruntime(the > >>relative vruntime in switched_to_fair()) < min_vruntime - > >>sysctl_sched_latency/2 > >> >

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Wanpeng Li
On 9/8/15 3:57 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 03:30:08PM +0800, Wanpeng Li wrote: On 9/8/15 3:11 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 02:42:52PM +0800, Wanpeng Li wrote: On 9/8/15 2:32 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 03:14:26PM +0900,

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Byungchul Park
On Tue, Sep 08, 2015 at 03:30:08PM +0800, Wanpeng Li wrote: > On 9/8/15 3:11 PM, Byungchul Park wrote: > >On Tue, Sep 08, 2015 at 02:42:52PM +0800, Wanpeng Li wrote: > >>On 9/8/15 2:32 PM, Byungchul Park wrote: > >>>On Tue, Sep 08, 2015 at 03:14:26PM +0900, Byungchul Park wrote: > On Tue, Sep

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Wanpeng Li
On 9/8/15 3:11 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 02:42:52PM +0800, Wanpeng Li wrote: On 9/8/15 2:32 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 03:14:26PM +0900, Byungchul Park wrote: On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: On 9/8/15 1:28 PM,

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Byungchul Park
On Tue, Sep 08, 2015 at 02:42:52PM +0800, Wanpeng Li wrote: > On 9/8/15 2:32 PM, Byungchul Park wrote: > >On Tue, Sep 08, 2015 at 03:14:26PM +0900, Byungchul Park wrote: > >>On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: > >>>On 9/8/15 1:28 PM, Byungchul Park wrote: > On Tue, Sep

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Wanpeng Li
On 9/8/15 10:10 AM, Byungchul Park wrote: hello wanpeng, On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: The sleeper task will be normalized when moved from fair_sched_class, in order that vruntime will be adjusted either the task is running or sleeping when moved back. The

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Byungchul Park
On Tue, Sep 08, 2015 at 02:23:56PM +0800, Wanpeng Li wrote: > On 9/8/15 2:14 PM, Byungchul Park wrote: > >On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: > >>On 9/8/15 1:28 PM, Byungchul Park wrote: > >>>On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: > On 9/7/15 10:02

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Byungchul Park
On Tue, Sep 08, 2015 at 02:28:17PM +0900, Byungchul Park wrote: > On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: > > On 9/7/15 10:02 PM, Peter Zijlstra wrote: > > >Please always Cc at least the person who wrote the lines you modify. > > > > > >On Mon, Sep 07, 2015 at 05:45:20PM +0800,

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Wanpeng Li
On 9/8/15 2:32 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 03:14:26PM +0900, Byungchul Park wrote: On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: On 9/8/15 1:28 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: On 9/7/15 10:02 PM, Peter

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Byungchul Park
On Tue, Sep 08, 2015 at 03:14:26PM +0900, Byungchul Park wrote: > On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: > > On 9/8/15 1:28 PM, Byungchul Park wrote: > > >On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: > > >>On 9/7/15 10:02 PM, Peter Zijlstra wrote: > > >>>Please

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Wanpeng Li
On 9/8/15 2:14 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: On 9/8/15 1:28 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: On 9/7/15 10:02 PM, Peter Zijlstra wrote: Please always Cc at least the person who wrote

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Byungchul Park
On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: > On 9/8/15 1:28 PM, Byungchul Park wrote: > >On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: > >>On 9/7/15 10:02 PM, Peter Zijlstra wrote: > >>>Please always Cc at least the person who wrote the lines you modify. > >>> >

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Wanpeng Li
On 9/8/15 10:10 AM, Byungchul Park wrote: hello wanpeng, On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: The sleeper task will be normalized when moved from fair_sched_class, in order that vruntime will be adjusted either the task is running or sleeping when moved back. The

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Wanpeng Li
On 9/8/15 4:22 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 04:04:49PM +0800, Wanpeng Li wrote: However, if se->vruntime -= cfs_rq->min_vruntime is positive, the behavior is different after your patch. e.g. se->vruntime(the relative vruntime in switched_to_fair()) < min_vruntime -

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Wanpeng Li
On 9/8/15 4:38 PM, Wanpeng Li wrote: On 9/8/15 4:22 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 04:04:49PM +0800, Wanpeng Li wrote: However, if se->vruntime -= cfs_rq->min_vruntime is positive, the behavior is different after your patch. e.g. se->vruntime(the relative vruntime in

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Byungchul Park
On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: > On 9/8/15 1:28 PM, Byungchul Park wrote: > >On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: > >>On 9/7/15 10:02 PM, Peter Zijlstra wrote: > >>>Please always Cc at least the person who wrote the lines you modify. > >>> >

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Wanpeng Li
On 9/8/15 3:11 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 02:42:52PM +0800, Wanpeng Li wrote: On 9/8/15 2:32 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 03:14:26PM +0900, Byungchul Park wrote: On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: On 9/8/15 1:28 PM,

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Wanpeng Li
On 9/8/15 3:57 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 03:30:08PM +0800, Wanpeng Li wrote: On 9/8/15 3:11 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 02:42:52PM +0800, Wanpeng Li wrote: On 9/8/15 2:32 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 03:14:26PM +0900,

RE: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread byungchul.park
> -Original Message- > From: Wanpeng Li [mailto:wanpeng...@hotmail.com] > Sent: Tuesday, September 08, 2015 5:46 PM > To: Byungchul Park > Cc: Peter Zijlstra; Ingo Molnar; linux-kernel@vger.kernel.org; > yuyang...@intel.com > Subject: Re: [PATCH] sched: fix lo

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Byungchul Park
On Tue, Sep 08, 2015 at 03:30:08PM +0800, Wanpeng Li wrote: > On 9/8/15 3:11 PM, Byungchul Park wrote: > >On Tue, Sep 08, 2015 at 02:42:52PM +0800, Wanpeng Li wrote: > >>On 9/8/15 2:32 PM, Byungchul Park wrote: > >>>On Tue, Sep 08, 2015 at 03:14:26PM +0900, Byungchul Park wrote: > On Tue, Sep

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Wanpeng Li
On 9/8/15 2:14 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: On 9/8/15 1:28 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: On 9/7/15 10:02 PM, Peter Zijlstra wrote: Please always Cc at least the person who wrote

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Byungchul Park
On Tue, Sep 08, 2015 at 03:14:26PM +0900, Byungchul Park wrote: > On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: > > On 9/8/15 1:28 PM, Byungchul Park wrote: > > >On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: > > >>On 9/7/15 10:02 PM, Peter Zijlstra wrote: > > >>>Please

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Byungchul Park
On Tue, Sep 08, 2015 at 04:04:49PM +0800, Wanpeng Li wrote: > >>However, if se->vruntime -= cfs_rq->min_vruntime is positive, the > >>behavior is different after your patch. e.g. se->vruntime(the > >>relative vruntime in switched_to_fair()) < min_vruntime - > >>sysctl_sched_latency/2 > >> >

RE: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread byungchul.park
> -Original Message- > From: Wanpeng Li [mailto:wanpeng...@hotmail.com] > Sent: Tuesday, September 08, 2015 5:39 PM > To: Byungchul Park > Cc: Peter Zijlstra; Ingo Molnar; linux-kernel@vger.kernel.org; > yuyang...@intel.com > Subject: Re: [PATCH] sched: fix lo

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Byungchul Park
On Tue, Sep 08, 2015 at 02:28:17PM +0900, Byungchul Park wrote: > On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: > > On 9/7/15 10:02 PM, Peter Zijlstra wrote: > > >Please always Cc at least the person who wrote the lines you modify. > > > > > >On Mon, Sep 07, 2015 at 05:45:20PM +0800,

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Wanpeng Li
On 9/8/15 2:32 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 03:14:26PM +0900, Byungchul Park wrote: On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: On 9/8/15 1:28 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: On 9/7/15 10:02 PM, Peter

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Byungchul Park
On Tue, Sep 08, 2015 at 02:42:52PM +0800, Wanpeng Li wrote: > On 9/8/15 2:32 PM, Byungchul Park wrote: > >On Tue, Sep 08, 2015 at 03:14:26PM +0900, Byungchul Park wrote: > >>On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: > >>>On 9/8/15 1:28 PM, Byungchul Park wrote: > On Tue, Sep

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Byungchul Park
On Tue, Sep 08, 2015 at 02:23:56PM +0800, Wanpeng Li wrote: > On 9/8/15 2:14 PM, Byungchul Park wrote: > >On Tue, Sep 08, 2015 at 01:38:08PM +0800, Wanpeng Li wrote: > >>On 9/8/15 1:28 PM, Byungchul Park wrote: > >>>On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: > On 9/7/15 10:02

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Byungchul Park
On Tue, Sep 08, 2015 at 04:45:46PM +0800, Wanpeng Li wrote: > On 9/8/15 4:38 PM, Wanpeng Li wrote: > >On 9/8/15 4:22 PM, Byungchul Park wrote: > >>On Tue, Sep 08, 2015 at 04:04:49PM +0800, Wanpeng Li wrote: > >However, if se->vruntime -= cfs_rq->min_vruntime is positive, the > >behavior is

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Peter Zijlstra
On Tue, Sep 08, 2015 at 06:48:43AM +0800, Wanpeng Li wrote: > On 9/7/15 10:02 PM, Peter Zijlstra wrote: > >Please always Cc at least the person who wrote the lines you modify. > > > >On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: > >>The sleeper task will be normalized when moved from

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-08 Thread Peter Zijlstra
On Tue, Sep 08, 2015 at 06:17:49PM +0900, Byungchul Park wrote: > even in this case, as i already said, place_entity() should be performed > after restoring a normalized value to the meaningful original value. > IMHO, it is wrong that se->vruntime is assigned with a bonused value >

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Wanpeng Li
On 9/8/15 1:28 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: On 9/7/15 10:02 PM, Peter Zijlstra wrote: Please always Cc at least the person who wrote the lines you modify. On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: The sleeper task

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Byungchul Park
On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: > On 9/7/15 10:02 PM, Peter Zijlstra wrote: > >Please always Cc at least the person who wrote the lines you modify. > > > >On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: > >>The sleeper task will be normalized when moved from

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Wanpeng Li
On 9/7/15 10:02 PM, Peter Zijlstra wrote: Please always Cc at least the person who wrote the lines you modify. On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: The sleeper task will be normalized when moved from fair_sched_class, in order that vruntime will be adjusted either the

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Byungchul Park
hello wanpeng, On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: > The sleeper task will be normalized when moved from fair_sched_class, in > order that vruntime will be adjusted either the task is running or sleeping > when moved back. The nomalization in switch_to_fair for sleep

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Peter Zijlstra
Please always Cc at least the person who wrote the lines you modify. On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: > The sleeper task will be normalized when moved from fair_sched_class, in > order that vruntime will be adjusted either the task is running or sleeping > when moved

[PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Wanpeng Li
The sleeper task will be normalized when moved from fair_sched_class, in order that vruntime will be adjusted either the task is running or sleeping when moved back. The nomalization in switch_to_fair for sleep task will result in lose fair sleeper bonus in place_entity() once the vruntime -

[PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Wanpeng Li
The sleeper task will be normalized when moved from fair_sched_class, in order that vruntime will be adjusted either the task is running or sleeping when moved back. The nomalization in switch_to_fair for sleep task will result in lose fair sleeper bonus in place_entity() once the vruntime -

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Peter Zijlstra
Please always Cc at least the person who wrote the lines you modify. On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: > The sleeper task will be normalized when moved from fair_sched_class, in > order that vruntime will be adjusted either the task is running or sleeping > when moved

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Wanpeng Li
On 9/7/15 10:02 PM, Peter Zijlstra wrote: Please always Cc at least the person who wrote the lines you modify. On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: The sleeper task will be normalized when moved from fair_sched_class, in order that vruntime will be adjusted either the

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Byungchul Park
On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: > On 9/7/15 10:02 PM, Peter Zijlstra wrote: > >Please always Cc at least the person who wrote the lines you modify. > > > >On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: > >>The sleeper task will be normalized when moved from

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Wanpeng Li
On 9/8/15 1:28 PM, Byungchul Park wrote: On Tue, Sep 08, 2015 at 11:46:01AM +0800, Wanpeng Li wrote: On 9/7/15 10:02 PM, Peter Zijlstra wrote: Please always Cc at least the person who wrote the lines you modify. On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: The sleeper task

Re: [PATCH] sched: fix lose fair sleeper bonus in switch_to_fair()

2015-09-07 Thread Byungchul Park
hello wanpeng, On Mon, Sep 07, 2015 at 05:45:20PM +0800, Wanpeng Li wrote: > The sleeper task will be normalized when moved from fair_sched_class, in > order that vruntime will be adjusted either the task is running or sleeping > when moved back. The nomalization in switch_to_fair for sleep