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

From: Andi Kleen
Date: Thu Dec 08 2011 - 13:58:28 EST


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?
If the later are they actually out there?

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
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/