RE: [PATCH 1/1] sched: remove unnecessary kzalloc in sched_init_smp

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Luck, Tony
Date: Tuesday, April 22, 2008 - 10:28 am

Acked-by: Tony Luck <tony.luck@intel.com>


Needs to head to Linus tree ... the preceeding patches have already
been merged there and are causing build errors for me.

Signed-off-by: Mike Travis <travis@sgi.com>
---
 kernel/sched.c |    5 -----
 1 file changed, 5 deletions(-)

--- linux-2.6.sched.orig/kernel/sched.c
+++ linux-2.6.sched/kernel/sched.c
@@ -8028,11 +8028,6 @@ void __init sched_init_smp(void)
 #else
 void __init sched_init_smp(void)
 {
-#if defined(CONFIG_NUMA)
-	sched_group_nodes_bycpu = kzalloc(nr_cpu_ids * sizeof(void **),
-								GFP_KERNEL);
-	BUG_ON(sched_group_nodes_bycpu == NULL);
-#endif
 	sched_init_granularity();
 }
 #endif /* CONFIG_SMP */
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: [PATCH 1/1] sched: remove unnecessary kzalloc in sched ..., Luck, Tony, (Tue Apr 22, 10:28 am)