Re: [RFC] kmem_cache_zalloc

Alan Cox
2002-03-29T23:05:01Z

> > Much more useful would be kcalloc(). That way we can put all the missing
> > 32bit overflow checking into kcalloc and remove a lot of crud from the
> > kernel where we have to keep doing maths checks.
>
> What should kcalloc do?

The same as calloc in standard C, but also make sure it does overflow checking.