Re: [RFC] kmem_cache_zalloc

Andrew Morton
2002-03-27T19:49:17Z

Eric Sandeen wrote:
>
> In the interest of whittling down the changes that XFS makes to the core
> kernel, I thought I'd start throwing out some the easier self-contained
> modifications for discussion.
>
> XFS adds a kmem_cache_zalloc function to mm/slab.c, it does what you
> might expect: kmem_cache_alloc + memset
>
> Is this something that might be considered for inclusion in the core
> kernel, or should we roll it back into fs/xfs?

Count me in. Clearly a very sane thing to do.

Needs an EXPORT_SYMBOL though.

-