diff options
author | Konstantin Khlebnikov <khlebnikov@yandex-team.ru> | 2015-02-12 10:36:37 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2015-03-04 16:42:44 +0100 |
commit | 5bcd3b6f639c277ed7fa71f2f8ed6fb072615011 (patch) | |
tree | 1caa6a5cadac9c78763c732327ab529b2ebdb0d1 /fs/kernfs | |
parent | Merge tag 'gpio-v4.0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linu... (diff) | |
download | linux-5bcd3b6f639c277ed7fa71f2f8ed6fb072615011.tar.xz linux-5bcd3b6f639c277ed7fa71f2f8ed6fb072615011.zip |
quota: optimize i_dquot access
Remove redundant calls of i_dquot(), keep pointer in local variable.
add/remove: 0/0 grow/shrink: 3/7 up/down: 40/-278 (-238)
function old new delta
__dquot_free_space 734 750 +16
__dquot_alloc_space 484 500 +16
dquot_free_inode 324 332 +8
dquot_drop 82 69 -13
vfs_load_quota_inode 1357 1341 -16
dquot_reclaim_space_nodirty 348 316 -32
dquot_disable 1980 1944 -36
dquot_claim_space_nodirty 354 314 -40
__dquot_drop 125 83 -42
__dquot_initialize 522 423 -99
Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/kernfs')
0 files changed, 0 insertions, 0 deletions