Re: [RFC 1/7] Remove declaration of sighand_cachep from slab.h

From: Andrew Morton
Date: Tue Nov 21 2006 - 14:49:54 EST


On Tue, 21 Nov 2006 11:36:19 -0800 (PST)
Christoph Lameter <clameter@xxxxxxx> wrote:

> On Tue, 21 Nov 2006, Andrew Morton wrote:
>
> > Use `struct kmem_cache' instead of `kmem_cache_t' and lo, you can
> > forward-declare it in the header file without having to include slab.h.
> >
> > Patches which rid us of kmem_cache_t are always welcome..
>
> Ok. So this patch would be acceptable?
>
>
> Remore kmem_cache_t from mm.
>
> This patch removed all uses of kmem_cache_t from the code in mm/*.
> The typedef is replaced with a define to allow other code to compile.
>

spose so, although I wouldn't bother about the typedef->#define change.
We just keep on plugging away at it until one day we can just remove the typedef.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/