On Tue, 21 Nov 2006 11:56:33 -0800 (PST)
Christoph Lameter <[email protected]> wrote:
> On Tue, 21 Nov 2006, Andrew Morton wrote:
>
> > 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.
>
> You do have script that can replace a string throughout the kernel
> right?
Nope.
>
> A patch is following that does the core things in mm and
> include/linux/slab.h. Would you accept that patch and then do
>
> s/kmem_cache_t/struct kmem_cache/g
>
> over all the kernel sources?
This is one of those low-priority background activities. Not worth
a lot of fuss.
I'd suggest that you proceeed with the original cleanups you were
proposing, except use `struct kmem_cache' in header files rather than
kmem_cache_t in .c files.
Then, as a separate and later exercise someone (maybe you) can raise
patches to do the kmem_cache_t->kmem_cache conversion. They should go
through maintainers hence they should be appropriately split and they will
take months to all get to mainline. Once this is all completed we can remove the
typedef.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]