Re: [PATCH v2 1/7] sched: remove unused SCHED_INIT_NODE

From: James Hogan
Date: Wed Mar 19 2014 - 07:07:47 EST


On 18/03/14 17:56, Vincent Guittot wrote:
> not used since new numa scheduler init sequence
>
> Signed-off-by: Vincent Guittot <vincent.guittot@xxxxxxxxxx>

Applied to metag tree for v3.15,

Thanks for spotting it.

Cheers
James

> ---
> arch/metag/include/asm/topology.h | 27 ---------------------------
> 1 file changed, 27 deletions(-)
>
> diff --git a/arch/metag/include/asm/topology.h b/arch/metag/include/asm/topology.h
> index 8e9c0b3..e95f874 100644
> --- a/arch/metag/include/asm/topology.h
> +++ b/arch/metag/include/asm/topology.h
> @@ -3,33 +3,6 @@
>
> #ifdef CONFIG_NUMA
>
> -/* sched_domains SD_NODE_INIT for Meta machines */
> -#define SD_NODE_INIT (struct sched_domain) { \
> - .parent = NULL, \
> - .child = NULL, \
> - .groups = NULL, \
> - .min_interval = 8, \
> - .max_interval = 32, \
> - .busy_factor = 32, \
> - .imbalance_pct = 125, \
> - .cache_nice_tries = 2, \
> - .busy_idx = 3, \
> - .idle_idx = 2, \
> - .newidle_idx = 0, \
> - .wake_idx = 0, \
> - .forkexec_idx = 0, \
> - .flags = SD_LOAD_BALANCE \
> - | SD_BALANCE_FORK \
> - | SD_BALANCE_EXEC \
> - | SD_BALANCE_NEWIDLE \
> - | SD_SERIALIZE, \
> - .last_balance = jiffies, \
> - .balance_interval = 1, \
> - .nr_balance_failed = 0, \
> - .max_newidle_lb_cost = 0, \
> - .next_decay_max_lb_cost = jiffies, \
> -}
> -
> #define cpu_to_node(cpu) ((void)(cpu), 0)
> #define parent_node(node) ((void)(node), 0)
>
>

Attachment: signature.asc
Description: OpenPGP digital signature