[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] xen/balloon: fix balloon kthread freezing


  • To: Juergen Gross <jgross@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
  • From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
  • Date: Mon, 20 Sep 2021 15:29:53 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=twx/poF39noCLQs4aAkBnBA9IKpiTltwMBDfusJ7u+c=; b=gkhp67FtZoNaPT4fn/MMbonagAbedxFeqZsd9voWTHVDpJ5EDlfkogf9OysWGlcHnZVrgDAaCAN5URQx64hUqIBemksnTyXAwyWD4Ldszh7feSOaLaYgrBNC0EHo+W3kapGrex8tFJdDEQYpRTq5E0iH3faiD54/0suoJ1YB0JjPsOaZT7qobXSX3rm/IzdEOiOk5QwBcvPK1uBfn4O4fY1sGb/8U0PJHpxKj88Tx20ci9JDmoZYRL5YOP0wXehGJD1a5k8fUMVj88mLrheQPZVBt8oBFCUlrOng3A2M0VTc1gONJAcmNS00jZvYnPjkj5Jk5BRKuWGHLZFq5M6fYQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YTN0oDPsNO7zVLU+nh6/JcEc65bV5TopVBBna/TYRUNGPW67FV5mw6EnBUrp3A3qAFOLpyjLXHaFF0ReA2/Za87MG/3Ita8kmAuXo79am225QvkiOXHXxBikOlDQRrYyNbv0L482LMjRdcinN7RHeedKRblHhzN/gN8oQpZsipCFEuYWumAj7WknN/uU6ueC73piOQc/HOfTzXJsY2KuqRKWHzB/s8FXPqn8xn03J8+L2Oy1ICJv86ZnNcfZ1zV+/SUa5J2dkwJsXXqiOWkQZ/KdIJ6W7kuQawKkeVBkDxWFMRV/bBukDhzTo0dkwRy6/g6nqygDFBeBU+xhRFCFcw==
  • Authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=oracle.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Mon, 20 Sep 2021 19:30:14 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 9/20/21 6:03 AM, Juergen Gross wrote:
> Commit 8480ed9c2bbd56 ("xen/balloon: use a kernel thread instead a
> workqueue") switched the Xen balloon driver to use a kernel thread.
> Unfortunately the patch omitted to call try_to_freeze() or to use
> wait_event_freezable_timeout(), causing a system suspend to fail.
>
> Fixes: 8480ed9c2bbd56 ("xen/balloon: use a kernel thread instead a workqueue")
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>



Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.