Skip to content
Commit b17b35ec authored by Jesper Juhl's avatar Jesper Juhl Committed by Theodore Ts'o
Browse files

ext4: use kmem_cache_zalloc() in ext4_init_io_end()



Use advantage of kmem_cache_zalloc() to remove 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: default avatarJesper Juhl <jj@chaosbits.net>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 6ca7b13d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment