On 04/24/2018 05:47 AM, Peter Zijlstra wrote:
On Mon, Apr 23, 2018 at 05:41:15PM -0700, subhra mazumdar wrote:
@@ -17,6 +17,7 @@
#include
DEFINE_PER_CPU_SHARED_ALIGNED(struct rq, runqueues);
+DEFINE_PER_CPU_SHARED_ALIGNED(int, next_cpu);
#if defined(CONFIG_SCHED_DEBUG) && defined
On Mon, Apr 23, 2018 at 05:41:15PM -0700, subhra mazumdar wrote:
> @@ -17,6 +17,7 @@
> #include
>
> DEFINE_PER_CPU_SHARED_ALIGNED(struct rq, runqueues);
> +DEFINE_PER_CPU_SHARED_ALIGNED(int, next_cpu);
>
> #if defined(CONFIG_SCHED_DEBUG) && defined(HAVE_JUMP_LABEL)
> /*
> @@ -6018,6 +6019,
Introduce a per-cpu variable to track the limit upto which idle cpu search
was done in select_idle_cpu(). This will help to start the search next time
from there. This is necessary for rotating the search window over entire
LLC domain.
Signed-off-by: subhra mazumdar
---
kernel/sched/core.c | 2
3 matches
Mail list logo