Re: ext4: Take advantage of kmem_cache_zalloc() inext4_init_io_end()

From: Ted Ts'o
Date: Sun Dec 19 2010 - 21:45:08 EST


On Thu, Dec 09, 2010 at 12:17:34PM -0000, Jesper Juhl wrote:
> Take advantage of kmem_cache_zalloc(). Save a memset() call in
> ext4_init_io_end() and save a few bytes.
>
> Before:
> [jj@dragon linux-2.6]$ size fs/ext4/page-io.o
> text data bss dec hex filename
> 3016 0 624 3640 e38 fs/ext4/page-io.o
> After:
> [jj@dragon linux-2.6]$ size fs/ext4/page-io.o
> text data bss dec hex filename
> 3000 0 624 3624 e28 fs/ext4/page-io.o
>
> Signed-off-by: Jesper Juhl <jj@xxxxxxxxxxxxx>

Thanks, added to the ext4 patch queue.

- Ted
--
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/