lkml.org 
[lkml]   [2010]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ext4: Take advantage of kmem_cache_zalloc() in ext4_init_io_end()
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@chaosbits.net>

Thanks, added to the ext4 patch queue.

- Ted


\
 
 \ /
  Last update: 2010-12-20 03:47    [W:0.040 / U:0.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site