Re: BUG: enable_cpucache failed for radix_tree_node, error 12 (was: Re: [PATCH v3 9/9] slab: remove BAD_ALIEN_MAGIC)

From: Geert Uytterhoeven
Date: Fri Aug 08 2014 - 04:56:26 EST


Hi Joonsoo,

On Fri, Aug 8, 2014 at 9:19 AM, Joonsoo Kim <iamjoonsoo.kim@xxxxxxx> wrote:
> Could you show me your full dmesg on boot-up?
> What I want to know is nodes-cpus mapping.

Attached.

If you want more debug output, please ask.

> I looked at SLAB code and found that SLAB works fine only if
> numa_mem_id() always returns 0. I guess that this is the case for
> !CONFIG_NUMA, so your system would work fine.
>
> And, I looked at SLUB code and found that SLUB works fine only if
> page_to_nid(page) always return 0 for this !CONFIG_NUMA and many nodes
> case. If not, some memory could be leak, I guess.

I've just tried SLUB, it boots fine. That doesn't say there are no leaks,
though.

> Of possible, could you check whether page_to_nid(page) returns
> only 0 or not?

It returns 0 or 1.

Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

Attachment: dmesg
Description: Binary data