Re: [PATCH] lib/idr.c: Zero memory properly in idr_remove_all

From: David Moore
Date: Tue Jan 13 2009 - 21:55:30 EST


On Tue, 2009-01-13 at 14:48 -0800, Andrew Morton wrote:
> None of this got us much closer to fixing the bug ;)
>
> What do we think of just removing the constructor and using
> kmem_cache_zalloc()?
>

Yes, I agree that using kmem_cache_zalloc would be a good solution.

-David

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