[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20111201133451.5fc1ee7b.akpm@linux-foundation.org>
Date: Thu, 1 Dec 2011 13:34:51 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Petr Holasek <pholasek@...hat.com>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org,
Anton Arapov <anton@...hat.com>
Subject: Re: [PATCH RESEND] NUMA x86: add constraints check for nid
parameters
On Thu, 1 Dec 2011 12:45:07 +0100
Petr Holasek <pholasek@...hat.com> wrote:
> This patch adds constraints checks into __node_distance() and
> numa_set_distance() functions. If from or to parameters are
> lower than zero, it results into oops now.
Passing negative numbers into __node_distance() sounds like a bug in
the caller, and this patch will remove our means of detecting that bug.
Perhaps we need to be told more about this patch. Is the bug
user-triggerable? If so, how? How was this fault triggered?
Etcetera.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists