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

Re: [PATCH 6/7] xen/evtch: use smp barriers for user event ring


  • To: Juergen Gross <jgross@xxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>, <linux-kernel@xxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Mon, 8 Feb 2021 09:44:00 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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-SenderADCheck; bh=1CILNLGQk+nV1NwutoxKVcy4yXu72qzm4UlRJNpn/QE=; b=SKiBmjD+qT7e5aq3pFLZg13sE6Xs/NsUX1aIA5lEG/nOqzeU+JyDLDIQ+fnpBPsUhgo/Clnp/UD+okUwGQXSuKA+2JnwqQvxqmlBd0kztfGWQfbQtH6wDTQI8UKoI4ofgQOX8kbuMIPjOcupu2rJSjyLxCxD8oAvuYLjAYcagnzhu+IhGqS6mvApUerzKCHMSQ0YJa/OSCc4EnJFR2xz/AZT/i0TGPwQxbjNxV2vU5uRP3AynjlpK2a7UJE+onOJjsUwixtchoZrYNxsukItwOkNo+abzsvsguJEEVO5pDg4tazVgqLYdAeCnScyMcPGs8O+gYcC3RSmV8Lqzg8HoQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V6mxGID9lcHLwDItkqUjJNKevM3lvZ32G4rDUWrUlbJxxyuHGmpQwPR8o9RkxfBHVuDExjNNy9dI85QF5tObDXWWDenE4kdi+RZsctYtNpQpwrQiSRzMH3XSVh85pcjeqXREGYYhwGNCl65wo64xoLWzW/zsF3Iewdty5s24IhQ0exPo1+QCKTWBRDKpJUa5v492Y3st9hmie64BkWLzVjhS0/H1U1UPE4dF5GZVFkAYpwGo/kQ2gOeLQpcGzmPpL7VPPmqrunKQgoeeR9nzbMJaJcFGRwDMubyLtgqtd1pf0yzetrw/tqhHyVJIEP/2lRnmfLeju7cwKI9+W7Ziew==
  • Authentication-results: esa4.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Mon, 08 Feb 2021 09:44:16 +0000
  • Ironport-sdr: VacezOIW4l9LHyr1wEJF/5aOIJrH9RGzuijKW0bRL2rR4n7XcTT2YPLKn9TNsJ5L0Qkjcdl85C V8SxRfMMhpcnvDkIBizyAB7VdCbbXLtxERD8z16SSXdmEwPlCsnTyy293HKgBFL+RQUlLGv5f/ KneKc2Dh11A/ZiSvVeLd1WPI1ybzTS7j/cjaeS+7ouhU7vv49mVmrKmfQ+8ecJWsz2x/TnTaOZ RgBDgwpGlhMV7xj5OFCJs3XMEHRScGm6iawRY5SDMJbiMDieof70S18o+2lX138wn9Zxmqu+k6 deE=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 06/02/2021 10:49, Juergen Gross wrote:
> The ring buffer for user events is used in the local system only, so
> smp barriers are fine for ensuring consistency.
>
> Reported-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

These need to be virt_* to not break in UP builds (on non-x86).

~Andrew



 


Rackspace

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