Messages in this thread | | | Date | Sun, 19 Dec 2010 21:44:55 -0500 | From | Ted Ts'o <> | Subject | Re: 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
| |