Re: [PATCH] mm/init: cpu_hotplug_init() must be initialized beforeSLAB
From: James Bottomley
Date: Tue Jun 23 2009 - 00:04:40 EST
On Mon, 2009-06-22 at 19:29 -0700, 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?
Yes, works for me.
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/