Re: [PATCH] kmalloc_percpu

Rusty Russell (rusty@au1.ibm.com)
Thu, 08 May 2003 17:47:34 +1000


In message <20030508074237.GA2760@in.ibm.com> you write:
> But still, even after actually calling init_committed_space
> with the newer patch (The first one which you mailed to Andrew in this
> thread) I get an oops at __alloc_percpu.
>
> Here's the oops report...looks like the
> struct pcpu_block *pcpu has NULL...

Damn initialization order.

Change:
__initcall(init_alloc_percpu);
to
core_initcall(init_alloc_percpu);

Anyway, patch has been scrapped, at least for now.
Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/