aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorBaokun Li <[email protected]>2024-08-22 10:35:44 +0800
committerTheodore Ts'o <[email protected]>2024-09-03 22:14:12 -0400
commit2352e3e461926b59f01c1e39fbb0494891cff997 (patch)
treecdad97c679194540b5aace3776b498b305f12d02 /lib/crypto/mpi/mpiutil.c
parenta2c613b8c4860d5e70010e7391fff727c5d96bab (diff)
ext4: make some fast commit functions reuse extents path
The ext4_find_extent() can update the extent path so that it does not have to allocate and free the path repeatedly, thus reducing the consumption of memory allocation and freeing in the following functions: ext4_ext_clear_bb ext4_ext_replay_set_iblocks ext4_fc_replay_add_range ext4_fc_set_bitmaps_and_counters No functional changes. Note that ext4_find_extent() does not support error pointers, so in this case set path to NULL first. Signed-off-by: Baokun Li <[email protected]> Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Ojaswin Mujoo <[email protected]> Tested-by: Ojaswin Mujoo <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions