Re: [PATCH v2] NUMA x86: add constraints check for nid parameters

From: Ingo Molnar
Date: Fri Dec 09 2011 - 02:13:03 EST



* Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> Petr Holasek <pholasek@xxxxxxxxxx> writes:
>
> > This patch adds constraints checks for numa_set_distance()
> > function. It emits warning when pxms are used uninitialized
> > when parsing the SRAT.
>
> Can you expand on the motivation for this please?
> Is this to catch buggy code or to catch buggy SRATs?

Both.

> If the later are they actually out there?

Not that i know of - they would likely not boot Linux very well
today.

Thanks,

Ingo
--
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/