Re: [PATCH] (repost) kmem_cache_zalloc

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 27 Apr 2002 21:11:48 +0100 (BST)


> caches, and a memset directly after the alloc destroys the object state.
> A kmen_zalloc/kzalloc might make more sense.

s/kzalloc/kcalloc/

Then our api continues to remind people of the C one so is easier to
remember (and we need calloc stuff anyway in multiple places)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/