diff options
author | Jesper Juhl | 2010-12-09 23:17:15 +0100 |
---|---|---|
committer | Trond Myklebust | 2010-12-21 17:51:24 +0100 |
commit | 72895b1ac7baeda76835cddb3edb019a90d32bcb (patch) | |
tree | 6854846213ae2b18af8e1cd44b84fa6d3b10639f /fs/configfs/Kconfig | |
parent | NFS: Remove redundant unlikely() (diff) | |
download | kernel-qcow2-linux-72895b1ac7baeda76835cddb3edb019a90d32bcb.tar.gz kernel-qcow2-linux-72895b1ac7baeda76835cddb3edb019a90d32bcb.tar.xz kernel-qcow2-linux-72895b1ac7baeda76835cddb3edb019a90d32bcb.zip |
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 <jj@chaosbits.net>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/configfs/Kconfig')
0 files changed, 0 insertions, 0 deletions