commit | a84e7ded825d4c0ce52840d15a66cbd5a115108b | [log] [tgz] |
---|---|---|
author | Prasad Sodagudi <psodagud@codeaurora.org> | Mon Sep 24 16:25:55 2018 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Aug 22 00:03:14 2019 -0700 |
tree | ae5138eac37781e0089c4cb6f5e13bb64f32c3ac | |
parent | 1e353927e656bbf190e69c4ac5302d1d9d7da7f6 [diff] |
kernel: time: Add delay after cpu_relax() in tight loops Tight loops of spin_lock_irqsave() and spin_unlock_irqrestore() in timer and hrtimer are causing scheduling delays. Add delay of few nano seconds after cpu_relax in the timer/hrtimer tight loops. Change-Id: Iaa0ab92da93f7b245b1d922b6edca2bebdc0fbce Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org> Signed-off-by: Chetan C R <cravin@codeaurora.org>