lkml.org 
[lkml]   [2011]   [Dec]   [9]   [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

* David Rientjes <rientjes@google.com> wrote:

> 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 guys.

Just to double check: there's no known instance of such a bad
SRAT in existence, so this commit can wait until v3.3 and does
hot have to go into v3.2, right?

Thanks,

Ingo


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