aboutsummaryrefslogtreecommitdiff
path: root/mm/vmpressure.c
diff options
context:
space:
mode:
authorKonstantin Khlebnikov2015-02-12 12:36:37 +0300
committerJan Kara2015-03-04 16:42:44 +0100
commit5bcd3b6f639c277ed7fa71f2f8ed6fb072615011 (patch)
tree1caa6a5cadac9c78763c732327ab529b2ebdb0d1 /mm/vmpressure.c
parent023a6007a08d342b64895a7342e426d12d9627dd (diff)
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 'mm/vmpressure.c')
0 files changed, 0 insertions, 0 deletions