[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5359F966.8040205@linux.vnet.ibm.com>
Date: Fri, 25 Apr 2014 11:27:58 +0530
From: Preeti U Murthy <preeti@...ux.vnet.ibm.com>
To: Jason Low <jason.low2@...com>
CC: mingo@...nel.org, peterz@...radead.org,
linux-kernel@...r.kernel.org, daniel.lezcano@...aro.org,
alex.shi@...aro.org, efault@....de, vincent.guittot@...aro.org,
morten.rasmussen@....com, aswin@...com, chegu_vinod@...com
Subject: Re: [PATCH 2/3] sched: Initialize newidle balance stats in sd_numa_init()
On 04/24/2014 07:00 AM, Jason Low wrote:
> Also initialize the per-sd variables for newidle load balancing
> in sd_numa_init().
>
> Signed-off-by: Jason Low <jason.low2@...com>
> ---
> kernel/sched/core.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/kernel/sched/core.c b/kernel/sched/core.c
> index 3f12533..b1c6cb9 100644
> --- a/kernel/sched/core.c
> +++ b/kernel/sched/core.c
> @@ -6030,6 +6030,8 @@ sd_numa_init(struct sched_domain_topology_level *tl, int cpu)
> ,
> .last_balance = jiffies,
> .balance_interval = sd_weight,
> + .max_newidle_lb_cost = 0,
> + .next_decay_max_lb_cost = jiffies,
> };
> SD_INIT_NAME(sd, NUMA);
> sd->private = &tl->data;
>
Reviewed-by: Preeti U Murthy <preeti@...ux.vnet.ibm.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists