diff options
author | Tomas Henzl <thenzl@redhat.com> | 2024-09-03 16:47:29 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-09-13 02:34:44 +0200 |
commit | 24d7071d964574cca41fa72a10c211221af37aec (patch) | |
tree | 503509b7ea75e55691fbd85915d3fef9481689ca /include | |
parent | scsi: ufs: qcom: Update MODE_MAX cfg_bw value (diff) | |
download | linux-24d7071d964574cca41fa72a10c211221af37aec.tar.xz linux-24d7071d964574cca41fa72a10c211221af37aec.zip |
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 <jjurca@redhat.com>
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Link: https://lore.kernel.org/r/20240903144729.37218-1-thenzl@redhat.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions