[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101220024455.GB24990@thunk.org>
Date: Sun, 19 Dec 2010 21:44:55 -0500
From: Ted Ts'o <tytso@....edu>
To: Jesper Juhl <jj@...osbits.net>
Cc: linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org,
Andreas Dilger <adilger.kernel@...ger.ca>
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@...gon 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@...gon 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@...osbits.net>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists