Re: [RFC][PATCH] slub: Check for page NULL before doing the node_matchcheck

From: Christoph Lameter
Date: Fri Jan 18 2013 - 09:43:39 EST


On Thu, 17 Jan 2013, Steven Rostedt wrote:

> Because there's also nothing to keep page related to object either, we
> may just need to do:

Adding the NULL check is satisfactory I think. The TID check guarantees
that nothing happened in between and the call the __slab_alloc can do the
same as the fastpath if it mistakenly goes to the slowpath.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/