Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit df574ff2 authored by Alex Naidis's avatar Alex Naidis Committed by Harshit Jain
Browse files

msm: ipa_v3: Mitigate usleep_range calls



Calling usleep_range with identical min and max values,
results in a delta of 0us.

This causes the issue that the scheduler gets no chance to re-use an already
scheduled interrupt for this wait which results in a negative performance
impact by adding uninterruptible sleep.

Fix the issue by allowing the delay to take 20% longer than requested.
This should be good enough for these cases.

Signed-off-by: default avatarAlex Naidis <alex.naidis@paranoidandroid.co>
Signed-off-by: default avatarPark Ju Hyung <qkrwngud825@gmail.com>
Change-Id: I9deb5727dc64370f173e05350383e685482247c4
parent d199502f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment