lkml.org 
[lkml]   [2011]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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!


\
 
 \ /
  Last update: 2011-12-08 22:11    [W:0.099 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site