aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorTomas Henzl <[email protected]>2024-09-03 16:47:29 +0200
committerMartin K. Petersen <[email protected]>2024-09-12 20:34:44 -0400
commit24d7071d964574cca41fa72a10c211221af37aec (patch)
tree503509b7ea75e55691fbd85915d3fef9481689ca /lib/crypto/mpi/mpi-sub-ui.c
parent0c40f079f1c808e7e480c795a79009f200366eb1 (diff)
scsi: mpi3mr: A performance fix
Commit 0c52310f2600 ("hrtimer: Ignore slack time for RT tasks in schedule_hrtimeout_range()") effectivelly shortens a sleep in a polling function in the driver. That is causing a performance regression as the new value of just 2us is too low, in certain tests the perf drop is ~30%. Fix this by adjusting the sleep to 20us (close to the previous value). Reported-by: Jan Jurca <[email protected]> Signed-off-by: Tomas Henzl <[email protected]> Acked-by: Sumit Saxena <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions