Re: [RFC v1] sched/fair: search a task from the tail of the queue

2017-09-18 Thread Uladzislau Rezki
On Mon, Aug 28, 2017 at 10:41:55AM +0200, Peter Zijlstra wrote: > On Fri, Aug 25, 2017 at 12:11:31AM +0200, Uladzislau Rezki (Sony) wrote: > > From: Uladzislau Rezki > > > > As a first step this patch makes cfs_tasks list as MRU one. > > It means, that when a next task is

Re: [RFC v1] sched/fair: search a task from the tail of the queue

2017-09-18 Thread Uladzislau Rezki
On Mon, Aug 28, 2017 at 10:41:55AM +0200, Peter Zijlstra wrote: > On Fri, Aug 25, 2017 at 12:11:31AM +0200, Uladzislau Rezki (Sony) wrote: > > From: Uladzislau Rezki > > > > As a first step this patch makes cfs_tasks list as MRU one. > > It means, that when a next task is picked to run on

Re: [RFC v1] sched/fair: search a task from the tail of the queue

2017-08-30 Thread Uladzislau Rezki
On Mon, Aug 28, 2017 at 10:41 AM, Peter Zijlstra wrote: > On Fri, Aug 25, 2017 at 12:11:31AM +0200, Uladzislau Rezki (Sony) wrote: >> From: Uladzislau Rezki >> >> As a first step this patch makes cfs_tasks list as MRU one. >> It means, that when a next

Re: [RFC v1] sched/fair: search a task from the tail of the queue

2017-08-30 Thread Uladzislau Rezki
On Mon, Aug 28, 2017 at 10:41 AM, Peter Zijlstra wrote: > On Fri, Aug 25, 2017 at 12:11:31AM +0200, Uladzislau Rezki (Sony) wrote: >> From: Uladzislau Rezki >> >> As a first step this patch makes cfs_tasks list as MRU one. >> It means, that when a next task is picked to run on physical >> CPU it

Re: [RFC v1] sched/fair: search a task from the tail of the queue

2017-08-28 Thread Peter Zijlstra
On Fri, Aug 25, 2017 at 12:11:31AM +0200, Uladzislau Rezki (Sony) wrote: > From: Uladzislau Rezki > > As a first step this patch makes cfs_tasks list as MRU one. > It means, that when a next task is picked to run on physical > CPU it is moved to the front of the list. > >

Re: [RFC v1] sched/fair: search a task from the tail of the queue

2017-08-28 Thread Peter Zijlstra
On Fri, Aug 25, 2017 at 12:11:31AM +0200, Uladzislau Rezki (Sony) wrote: > From: Uladzislau Rezki > > As a first step this patch makes cfs_tasks list as MRU one. > It means, that when a next task is picked to run on physical > CPU it is moved to the front of the list. > > Thefore, the cfs_tasks

[RFC v1] sched/fair: search a task from the tail of the queue

2017-08-24 Thread Uladzislau Rezki (Sony)
From: Uladzislau Rezki As a first step this patch makes cfs_tasks list as MRU one. It means, that when a next task is picked to run on physical CPU it is moved to the front of the list. Thefore, the cfs_tasks list is more or less sorted (except woken tasks) starting from

[RFC v1] sched/fair: search a task from the tail of the queue

2017-08-24 Thread Uladzislau Rezki (Sony)
From: Uladzislau Rezki As a first step this patch makes cfs_tasks list as MRU one. It means, that when a next task is picked to run on physical CPU it is moved to the front of the list. Thefore, the cfs_tasks list is more or less sorted (except woken tasks) starting from recently given CPU time