lkml.org 
[lkml]   [2016]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 2/3] sched,fair: Fix local starvation
From
2016-05-21 22:04 GMT+08:00 Mike Galbraith <mgalbraith@suse.de>:
> On Tue, 2016-05-10 at 19:43 +0200, Peter Zijlstra wrote:
>
> (Evolution authors must either not do patch review, or use some other
> mailer. Squint hard, this crud really is your patch;)
>
>> --- a/kernel/sched/core.c
>> +++ b/kernel/sched/core.c
>>
>> @@ -1762,7 +1770,11 @@ void sched_ttwu_pending(void)
>> > > while (llist) {
>> > > > p = llist_entry(llist, struct task_struct, wake_entry);
>> > > > llist = llist_next(llist);
>> -> > > ttwu_do_activate(rq, p, 0, cookie);
>> +> > > /*
>> +> > > * See ttwu_queue(); we only call ttwu_queue_remote() when
>> +> > > * its a x-cpu wakeup.
>> +> > > */
>> +> > > ttwu_do_activate(rq, p, WF_MIGRATED, cookie);
>
> Wakees that were not migrated/normalized eat an unwanted min_vruntime,

Why there were wakees queued by twu_queue_remote() not migrated?

Regards,
Wanpeng Li

\
 
 \ /
  Last update: 2016-05-22 09:21    [W:0.083 / U:1.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site