lkml.org 
[lkml]   [2009]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] mm/init: cpu_hotplug_init() must be initialized before SLAB
From
Date
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.

James




\
 
 \ /
  Last update: 2009-06-23 06:07    [W:0.057 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site