Re: [patch 2.6.16-rc6-mm2] x86: add NUMA to oops messages

From: Chuck Ebbert
Date: Sun Jun 18 2006 - 08:17:52 EST


In-Reply-To: <200606181059.44576.ak@xxxxxxx>

On Sun, 18 Jun 2006 10:59:44 +0200, Andi Kleen wrote:

> On Sunday 18 June 2006 10:13, Chuck Ebbert wrote:
> > Add "NUMA" to x86 oops printouts to help with debugging. Use vermagic.h
> > defines to clean up the code, suggested by Arjan van de Ven.
>
> I don't see any particular value in printing NUMA here,

It helps a lot when trying to decode oopses posted to the list, as the
NUMA kernel is very different now that the slab allocator and scheduler
are NUMA-aware.

$ fgrep 'def CONFIG_NUMA' mm/*.c kernel/*.c include/linux/* | wc -l
58
$ fgrep 'def CONFIG_SMP' mm/*.c kernel/*.c include/linux/* | wc -l
81

> and putting half of .config into the oops doesn't seem
> like a good long term strategy.

It's just this one thing; I can't think of anything else to add...

--
Chuck
"You can't read a newspaper if you can't read." --George W. Bush
-
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/