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

Re: [PATCH 0/2] libs/light: fix a race when domain are destroied and created concurrently


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Dario Faggioli <dfaggioli@xxxxxxxx>
  • Date: Thu, 13 Jan 2022 11:46:19 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5ElFCYPkC+p12OxVk2qKJaGHht5rnuboziASwWSYQYU=; b=m/Tt0BNetLSy5IIfH0h4ZgWOwZeCItSLOweyGHIIC2sylVYRZwZwKjauwzuOuATXMkcfKpWhVJ/A5MLKr3M68Q6n5Ip9V/WDhw8HBHc9753bFrtWfRI6aN/8gIiZynDzRsoIPCmTR4/aPXwA8tqYRi5rUKOrvmPFo5R5JmZsO9YJmnKGLxaqvhuvQibFA3VvIusbh4cdI1Ewo20Tzd5mDtJ3/MqBrA0veX72UVtkHREH8OHqKX62SwBEbNiJn/fDbM3sf7Gy2v8USkrOP7wLG3+YxNUQcl3NscIzK6Yg2wCOQOVZmRZIVaNhkAdfrDMqQYT0dLGZwp6KErRZlZuC4g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lXuwqxEzqp7KWUQxrMfpLgv+i/4sGP1aKGf66J5qj6sKFmbe3CufoIw460+55Uv3xTEGU4F97TIGPTqyTyezfqMVOfiCkzb+15JN9y0WBDTY78+3AsQP9ZHW3e18QnVfeBeFbmgEsTVl8CDRUdc41bLzRyvd24/reLLnRRkN0XzriYbQINX0MifYSVP1wR8KQ7K975nOoZU863HjbxLgeEVKbWrljt8AuvLoqtgTcLQcDq5f1ZX9OpYz7FJd9relXmUnlhG3gEURpZiBwPDfz4L5MHiURZx9nAd/9fYoq6XbapNHJkfFUVAfmnCVdQz3ptqEXOyP241Z8DJUtPjX8Q==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Juergen Gross <JGross@xxxxxxxx>, Jim Fehlig <jfehlig@xxxxxxxx>, "wl@xxxxxxx" <wl@xxxxxxx>, "anthony.perard@xxxxxxxxxx" <anthony.perard@xxxxxxxxxx>
  • Delivery-date: Thu, 13 Jan 2022 11:46:32 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHYCHMuqbBxXiBHCUadGrc315WyaA==
  • Thread-topic: [PATCH 0/2] libs/light: fix a race when domain are destroied and created concurrently

On Wed, 2022-01-12 at 17:41 +0100, Dario Faggioli wrote:
> It is possible to encounter a segfault in libxl during concurrent
> domain
> create and destroy operations.
> 
> This is because Placement of existing domains on the host's CPUs is
> examined
> when creating a new domain, but the existing logic does not tolerate
> well a
> domain disappearing during the examination.
> 
Oh, one more thing. This has been first encountered and reproduced on
our SLE15.2, which ships Xen 4.13 so, if the fixes are accepted
upstream, I think they should also be backported (to all supported
branches, I would say).

Thanks and Regards
-- 
Dario Faggioli, Ph.D
http://about.me/dario.faggioli
Virtualization Software Engineer
SUSE Labs, SUSE https://www.suse.com/
-------------------------------------------------------------------
<<This happens because _I_ choose it to happen!>> (Raistlin Majere)

Attachment: signature.asc
Description: This is a digitally signed message part


 


Rackspace

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