Re: [RFC][PATCH 4/6] Slab Prep: slab_destruct()

Matthew Dobson
2005-12-14T16:30:35Z

Pekka Enberg wrote:
> On 12/14/05, Matthew Dobson <colpatch@us.ibm.com> wrote:
>
>>Create a helper function for slab_destroy() called slab_destruct(). Remove
>>some ifdefs inside functions and generally make the slab destroying code
>>more readable prior to slab support for the Critical Page Pool.
>
>
> Looks good. How about calling it slab_destroy_objs instead?
>
> Pekka

I called it slab_destruct() because it's the part of the old slab_destroy()
that called the slab destructor to destroy the slab's objects.
slab_destroy_objs() is reasonable as well, though, and I can live with that.

Thanks!

-Matt