Received: from eggs.gnu.org ([2001:4830:134:3::10]:56296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atZ4M-0005Hv-Nt for qemu-devel@nongnu.org; Fri, 22 Apr 2016 07:16:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atZ4I-0002pq-8c for qemu-devel@nongnu.org; Fri, 22 Apr 2016 07:16:18 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:64669) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atZ4I-0002pc-1r for qemu-devel@nongnu.org; Fri, 22 Apr 2016 07:16:14 -0400 Date: Fri, 22 Apr 2016 12:16:09 +0100 From: Anthony PERARD Message-ID: <20160422111609.GB1885@perard.uk.xensource.com> References: <1460457796-1779-1-git-send-email-wei.liu2@citrix.com> <1460457796-1779-2-git-send-email-wei.liu2@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: 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: Stefano Stabellini Cc: Wei Liu , qemu-devel@nongnu.org, Xen-devel 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. -- Anthony PERARD