Re: [PATCH v2] mm: slab: Verify the nodeid passed to____cache_alloc_node

From: Christoph Lameter
Date: Mon Feb 25 2013 - 14:28:03 EST

On Mon, 25 Feb 2013, Rik van Riel wrote:

> On 02/25/2013 12:18 PM, Aaron Tomlin wrote:
> > mm: slab: Verify the nodeid passed to ____cache_alloc_node
> >
> > If the nodeid is > num_online_nodes() this can cause an
> > Oops and a panic(). The purpose of this patch is to assert
> > if this condition is true to aid debugging efforts rather
> > than some random NULL pointer dereference or page fault.
> >
> > Signed-off-by: Aaron Tomlin <atomlin@xxxxxxxxxx>
> Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>

It may be helpful to cc the slab maintainers...
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at