Re: [PATCH] mm/init: cpu_hotplug_init() must be initialized beforeSLAB
From: Sachin Sant
Date: Mon Jun 22 2009 - 23:26:38 EST
Linus Torvalds wrote:
On Tue, 23 Jun 2009, Benjamin Herrenschmidt wrote:
+ /*
+ * This initializes the mutex used by get/put_online_cpus()
+ * which is used by SLAB
+ */
+ cpu_hotplug_init();
Oh fudge it.
Why not get rid of that stupid thing, rather than have that subtle
dependency and a comment for it.
IOW, does this simpler alternative also work?
This fixes the problem for me.
Thanks
-Sachin
--
---------------------------------
Sachin Sant
IBM Linux Technology Center
India Systems and Technology Labs
Bangalore, India
---------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/