[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1FE6DD409037234FAB833C420AA843EC012AF094@orsmsx424.amr.corp.intel.com>
Date: Tue, 22 Apr 2008 10:28:27 -0700
From: "Luck, Tony" <tony.luck@...el.com>
To: "Mike Travis" <travis@....com>, "Ingo Molnar" <mingo@...e.hu>
Cc: "Thomas Gleixner" <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>,
"Andrew Morton" <akpm@...ux-foundation.org>,
<linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 1/1] sched: remove unnecessary kzalloc in sched_init_smp
Acked-by: Tony Luck <tony.luck@...el.com>
> For inclusion into sched-devel/latest tree.
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@....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 */
--
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