Re: list corruption in the last few days. (block ? crypto ?)

From: Christoph Lameter
Date: Mon Aug 08 2011 - 10:58:24 EST


On Sun, 7 Aug 2011, Pekka Enberg wrote:

> Christoph, I've been reading the code and spotted two potential issues in
> __slab_free(). The first one seems like an off-by-one where our comparison in
> deactivate_slab() doesn't match __slab_free.

Would not cause list corruption.

> The other one is remove_full() call in __slab_free() that can get called even
> if cache debugging is not enabled.

The checks for the debug flag are already done in remove_full().
--
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/