Return-path: Received: from wolverine01.qualcomm.com ([199.106.114.254]:48834 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750970Ab3IIIA3 (ORCPT ); Mon, 9 Sep 2013 04:00:29 -0400 From: Kalle Valo To: Michal Kazior CC: , Subject: Re: [PATCH] ath10k: prevent CE from looping indefinitely References: <1378213798-24769-1-git-send-email-michal.kazior@tieto.com> Date: Mon, 9 Sep 2013 11:00:11 +0300 In-Reply-To: <1378213798-24769-1-git-send-email-michal.kazior@tieto.com> (Michal Kazior's message of "Tue, 3 Sep 2013 15:09:58 +0200") Message-ID: <87txhuctmc.fsf@kamboji.qca.qualcomm.com> (sfid-20130909_100032_635668_F33F133B) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: linux-wireless-owner@vger.kernel.org List-ID: Michal Kazior 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 Applied, thanks. -- Kalle Valo