From: Wei Liu Subject: Re: [PATCH MINI-OS v3 1/2] xenbus: notify the other end when necessary Date: Tue, 27 Oct 2015 15:55:33 +0000 Message-ID: <20151027155533.GZ18674@zion.uk.xensource.com> References: <1445960609-16977-1-git-send-email-wei.liu2@citrix.com> <1445960609-16977-2-git-send-email-wei.liu2@citrix.com> <20151027154643.GE2483@var.bordeaux.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20151027154643.GE2483@var.bordeaux.inria.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Samuel Thibault , Wei Liu , minios-devel@lists.xenproject.org, Xen-devel , Ian Campbell , Ian Jackson List-Id: xen-devel@lists.xenproject.org On Tue, Oct 27, 2015 at 04:46:43PM +0100, Samuel Thibault wrote: > Wei Liu, le Tue 27 Oct 2015 15:43:28 +0000, a =E9crit : > > The xenbus thread didn't send notification to other end when it expected > > more data or consumed responses, which led to stalling the ring from > > time to time. > > = > > This is the culprit that guest was less responsive when using stubdom > > because the device model was stalled. > > = > > Fix this by sending notification to the other end when it consumes a > > message. A bunch of memory barriers are also added to ensure > > correctness. > > = > > Signed-off-by: Wei Liu > = > Acked-by: Samuel Thibault > = Thanks for your help along the way! > And it should clearly be backported to stable branches. > = > Samuel