[PATCH] ath10k: prevent CE from looping indefinitely

Kalle Valo kvalo at qca.qualcomm.com
Mon Sep 9 04:00:11 EDT 2013


Michal Kazior <michal.kazior at tieto.com> writes:

> 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 at tieto.com>

Applied, thanks.

-- 
Kalle Valo



More information about the ath10k mailing list