Re: [PATCH 8/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:43PM +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 8/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