Messages in this thread | | | Subject | Re: [PATCH 3/3] sched: limit cpu search and rotate search window for scalability | From | Subhra Mazumdar <> | Date | Tue, 24 Apr 2018 15:43:36 -0700 |
| |
On 04/24/2018 05:48 AM, Peter Zijlstra wrote: > On Mon, Apr 23, 2018 at 05:41:16PM -0700, subhra mazumdar wrote: >> + if (per_cpu(next_cpu, target) != -1) >> + target_tmp = per_cpu(next_cpu, target); >> + else >> + target_tmp = target; >> + > This one; what's the point here? Want to start search from target first time and from the next_cpu next time onwards. If this doesn't many any difference in performance I can change it. Will require re-running all the tests.
| |