Re: [PATCH 0/8] sched/deadline: Return the best satisfying affinity and dl in cpudl_find

2017-03-28 Thread Byungchul Park
On Tue, Mar 28, 2017 at 08:11:53AM +0100, Juri Lelli wrote: > > > > For example: > > > > > > > >cpu 0 is running a task (dl: 10). > > > >cpu 1 is running a task (dl: 9). > > > >cpu 2 is running a task (dl: 8). > > > >cpu 3 is running a task (dl: 2). > > > > > > > >where cpu 3

Re: [PATCH 0/8] sched/deadline: Return the best satisfying affinity and dl in cpudl_find

2017-03-28 Thread Juri Lelli
On 28/03/17 09:42, Byungchul Park wrote: > On Mon, Mar 27, 2017 at 03:05:07PM +0100, Juri Lelli wrote: > > Hi, > > > > On 23/03/17 19:32, Byungchul Park wrote: > > > cpudl_find() is used to find a cpu having the latest dl. The function > > > should return the latest cpu among ones satisfying task'

Re: [PATCH 0/8] sched/deadline: Return the best satisfying affinity and dl in cpudl_find

2017-03-27 Thread Byungchul Park
On Mon, Mar 27, 2017 at 03:05:07PM +0100, Juri Lelli wrote: > Hi, > > On 23/03/17 19:32, Byungchul Park wrote: > > cpudl_find() is used to find a cpu having the latest dl. The function > > should return the latest cpu among ones satisfying task's affinity and > > dl constraint, but current code gi

Re: [PATCH 0/8] sched/deadline: Return the best satisfying affinity and dl in cpudl_find

2017-03-27 Thread Juri Lelli
Hi, On 23/03/17 19:32, Byungchul Park wrote: > cpudl_find() is used to find a cpu having the latest dl. The function > should return the latest cpu among ones satisfying task's affinity and > dl constraint, but current code gives up immediately and just return > fail when it fails at the test *onl

Re: [PATCH 0/8] sched/deadline: Return the best satisfying affinity and dl in cpudl_find

2017-03-23 Thread Byungchul Park
On Thu, Mar 23, 2017 at 07:32:35PM +0900, Byungchul Park wrote: > cpudl_find() is used to find a cpu having the latest dl. The function > should return the latest cpu among ones satisfying task's affinity and > dl constraint, but current code gives up immediately and just return > fail when it fail

[PATCH 0/8] sched/deadline: Return the best satisfying affinity and dl in cpudl_find

2017-03-23 Thread Byungchul Park
cpudl_find() is used to find a cpu having the latest dl. The function should return the latest cpu among ones satisfying task's affinity and dl constraint, but current code gives up immediately and just return fail when it fails at the test *only with* the maximum cpu. For example: cpu 0 is ru