aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2021-05-31 11:32:00 -0700
committerDarrick J. Wong <[email protected]>2021-06-03 15:56:03 -0700
commitf427cf5c6236acdf72b4d8564b2e18937c4cc8d8 (patch)
tree4cdfb2662ee6da7f9bc33af76e7ca01fbb9cb906 /scripts/gdb/linux/timerlist.py
parent7fdff52623b4df9c9ae665fe8bb727978c29414e (diff)
xfs: remove indirect calls from xfs_inode_walk{,_ag}
It turns out that there is a 1:1 mapping between the execute and goal parameters that are passed to xfs_inode_walk_ag: xfs_blockgc_scan_inode <=> XFS_ICWALK_BLOCKGC xfs_dqrele_inode <=> XFS_ICWALK_DQRELE Because of this exact correspondence, we don't need the execute function pointer and can replace it with a direct call. For the price of a forward static declaration, we can eliminate the indirect function call. This likely has a negligible impact on performance (since the execute function runs transactions), but it also simplifies the function signature. Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Dave Chinner <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions