summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dquot.c
diff options
context:
space:
mode:
authorDave Chinner2018-03-07 02:30:34 +0100
committerDarrick J. Wong2018-03-12 04:27:56 +0100
commitae23395d8858a0c91de978a60b317ec8468b2aba (patch)
treee5fbc63f66da6f754dde9a57d8952b511190bffa /fs/xfs/xfs_dquot.c
parentxfs: convert XFS_AGFL_SIZE to a helper function (diff)
downloadkernel-qcow2-linux-ae23395d8858a0c91de978a60b317ec8468b2aba.tar.gz
kernel-qcow2-linux-ae23395d8858a0c91de978a60b317ec8468b2aba.tar.xz
kernel-qcow2-linux-ae23395d8858a0c91de978a60b317ec8468b2aba.zip
inode: don't memset the inode address space twice
Noticed when looking at why cycling 600k inodes/s through the inode cache was taking a total of 8% cpu in memset() during inode initialisation. There is no need to zero the inode.i_data structure twice. This increases single threaded bulkstat throughput from ~200,000 inodes/s to ~220,000 inodes/s, so we save a substantial amount of CPU time per inode init by doing this. Signed-Off-By: Dave Chinner <dchinner@redhat.com> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_dquot.c')
0 files changed, 0 insertions, 0 deletions