From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atZ5p-000805-1N for qemu-devel@nongnu.org; Fri, 22 Apr 2016 07:17:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atZ5l-00031n-0R for qemu-devel@nongnu.org; Fri, 22 Apr 2016 07:17:48 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:36492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atZ5k-00031f-S6 for qemu-devel@nongnu.org; Fri, 22 Apr 2016 07:17:44 -0400 Date: Fri, 22 Apr 2016 12:19:33 +0100 From: Wei Liu Message-ID: <20160422111933.GG27627@citrix.com> References: <1460457796-1779-1-git-send-email-wei.liu2@citrix.com> <1460457796-1779-2-git-send-email-wei.liu2@citrix.com> <20160422111609.GB1885@perard.uk.xensource.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20160422111609.GB1885@perard.uk.xensource.com> Subject: Re: [Qemu-devel] [PATCH v2 1/3] xenfb: use the correct condition to avoid excessive looping List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony PERARD Cc: Stefano Stabellini , Wei Liu , qemu-devel@nongnu.org, Xen-devel On Fri, Apr 22, 2016 at 12:16:09PM +0100, Anthony PERARD wrote: > On Tue, Apr 12, 2016 at 10:12:28AM -0700, Stefano Stabellini wrote: > > On Tue, 12 Apr 2016, Wei Liu wrote: > > > In commit ac0487e1 ("xenfb.c: avoid expensive loops when prod <= > > > out_cons"), ">=" was used. In fact, a full ring is a legit state. > > > Correct the test to use ">". > > > > > > Reported-by: "Hao, Xudong" > > > Signed-off-by: Wei Liu > > > Tested-by: "Hao, Xudong" > > > Acked-by: Anthony Perard > > > > Acked-by: Stefano Stabellini > > > > I'll add it to my queue > > > > > > > Cc: Stefano Stabellini > > > Cc: Anthony Perard > > > > > > Backport candidate to our own tree. > > Patch backported to qemu-xen.git:master. > I think you mean staging. :-) Wei. > -- > Anthony PERARD