Re: [PATCH] Create __kzalloc_gfp_kernel()

From: Andrew Morton
Date: Wed Sep 14 2005 - 00:36:39 EST


Roland Dreier <rolandd@xxxxxxxxx> wrote:
>
> On an x86_64 allyesconfig kernel, I see the following size:
>
> text data bss dec hex filename
> 24202272 7609162 1998512 33809946 203e61a ../kbuild-before/vmlinux
> 24201601 7609266 1998512 33809379 203e3e3 ../kbuild-after/vmlinux
>

It hardly seems worth it, really. Better savings would come from doing the
same trick to kmem_cache_alloc() then tweaking kmalloc().

There are probably any number of frequently-called functions which we could
hack around with..
-
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/