Re: [BUG: 2.6.22-rc2] SLAB doesn't like usb_get_configuration()

From: Christoph Lameter
Date: Sat May 19 2007 - 14:20:54 EST


On Sat, 19 May 2007, Indan Zupancic wrote:

> I had two SLAb related bugs, both with usb_get_configuration()
> near the end of the backtrace. First one was with git between
> rc1 and rc2, but very close to rc2, second one was with rc2,
> both at bootup.

Well usb_get_configuration seems to do a kmalloc(0) which is a bit
strange and this is why we flagged the allocation in the slab allocators.
Is there some way to avoid allocating an object of zero length?
-
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/