Messages in this thread | | | Date | Tue, 23 Jun 2009 08:56:23 +0530 | From | Sachin Sant <> | Subject | Re: [PATCH] mm/init: cpu_hotplug_init() must be initialized before SLAB |
| |
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 ---------------------------------
| |