This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
techapack/dataipa: 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. Change-Id: I21899ede6ee164d74509f50ad8a02a5a238c5167 Signed-off-by: Alex Naidis <[email protected]> Signed-off-by: Park Ju Hyung <[email protected]> Signed-off-by: Vaisakh Murali <[email protected]>
- Loading branch information