diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2013-09-03 15:09:58 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2013-09-08 17:59:32 +0300 |
commit | 5440ce253779fd42ae3b0df64d77430274079ab7 (patch) | |
tree | 18a30b00bf4f08be42a7499f2fd8d358ad1ba444 /drivers/cpuidle | |
parent | b8a1e00f1a9b861512b17038afda9e2f8b9f9bea (diff) |
ath10k: prevent CE from looping indefinitely
The double while() could end up running forever.
Inner while() would complete very fast. However
the completion processing could take enough time
for more completions to flow in. In that case the
outer while() would not terminate and run again,
and again. This could happen especially on a slow
host system.
This could lead to a system freeze during heavy
traffic. Note: this doesn't solve all known
starvation issues yet.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions