Re: [PATCH] (repost) kmem_cache_zalloc

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Apr 27 2002 - 15:11:48 EST


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



This archive was generated by hypermail 2b29 : Tue Apr 30 2002 - 22:00:15 EST