Re: mm: slab - __cache_alloc NULL prefetch fix

From: Christoph Lameter
Date: Thu Nov 20 2008 - 13:17:20 EST


On Thu, 20 Nov 2008, Cyrill Gorcunov wrote:

> even having prefetch(NULL) as valid we do check if
> object is not NULL anyway so I thought there is no
> need to prefetch(NULL) in case of fail.

The object is only checked if SLAB_DEBUG is on.

--
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/