Re: [PATCH] slab: warning if total alloc size overflow

From: Pekka Enberg
Date: Tue Feb 14 2012 - 03:10:51 EST


On Tue, 14 Feb 2012, Yang Bai wrote:
I did not find anything like SLAB_OVERFLOW using grep. Could you
explain it more in detail?

You should add a new config option to lib/Kconfig.debug and wrap the debug check with it.

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