From: Jesper Juhl Date: Thu, 9 Dec 2010 22:17:15 +0000 (+0100) Subject: nfs: Take advantage of kmem_cache_zalloc() in nfs_page_alloc() X-Git-Tag: v2.6.38-rc1~407^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72895b1ac7baeda76835cddb3edb019a90d32bcb;p=pandora-kernel.git nfs: Take advantage of kmem_cache_zalloc() in nfs_page_alloc() Take advantage of kmem_cache_zalloc() in nfs_page_alloc(). Save a call to memset() and a few bytes. Before: [jj@dragon linux-2.6]$ size fs/nfs/pagelist.o text data bss dec hex filename 1765 0 8 1773 6ed fs/nfs/pagelist.o After: [jj@dragon linux-2.6]$ size fs/nfs/pagelist.o text data bss dec hex filename 1749 0 8 1757 6dd fs/nfs/pagelist.o Signed-off-by: Jesper Juhl Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed