[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1304231616270.3855@chino.kir.corp.google.com>
Date: Tue, 23 Apr 2013 16:16:44 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Aaron Tomlin <atomlin@...hat.com>
cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org, cl@...ux.com,
penberg@...nel.org, Rik <riel@...hat.com>,
Rafael Aquini <aquini@...hat.com>
Subject: Re: [Patch v2] mm: slab: Verify the nodeid passed to
____cache_alloc_node
On Tue, 23 Apr 2013, 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@...hat.com>
> Reviewed-by: Rik van Riel <riel@...hat.com>
>
Acked-by: David Rientjes <rientjes@...gle.com>
--
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