Messages in this thread | | | Date | Thu, 8 Dec 2011 13:09:00 -0800 (PST) | From | David Rientjes <> | Subject | Re: [PATCH v3] NUMA x86: add constraints check for nid parameters |
| |
On Thu, 8 Dec 2011, Petr Holasek wrote:
> This patch adds constraints checks for numa_set_distance() > function. It emits warning and avoids a store to a negative > index in numa_distance[] array. Negative ids can be passed when > pxm-to-nids mapping is not properly filled while parsing the SRAT. > > Signed-off-by: Petr Holasek <pholasek@redhat.com>
Acked-by: David Rientjes <rientjes@google.com>
Thanks Petr!
| |