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

Re: [PATCH v6 1/3] evtchn: slightly defer lock acquire where possible


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Thu, 27 May 2021 15:46:36 +0200
  • 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=rflu3yQzBzaKqEEvZrK0UCJy5FS+Bo/jM9IWyELmBAk=; b=j7peeh77fmuJ9gWutMylWYTSMnnEfMUvI1n7mVxMebACeD3fptOjSVxta6QsAq0h9NLCEbfULhee7IfzA1n/sv2WNBCNPLOFG+IWPtSzLgTPG3KgOSw4dVxqYGaX2C1ab1RA1Z+WOsy8eLdO39Vc5CdUrEO6yRqsE8i+BWl9GOK+S0jmKNtz3fFRS6uqoWf+gWw87bnWFTrYhH1hmuzxeHdubKKChOPIPY6cwTAQYDoM3x7sy5PF6YkscTkUyOQfdrUetunNbyiim5E+S7deVJ1wz8LjpavSKixhf8h7Bgd2dwVy6murpTnivR8/nTGBMl7gPKnQobmowp+t8qEeDA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I0FQyivuLqnUfS0M2tawuRgeJw7IZTre1S1LPvrI8V5GA3MAz4Bm5z+Etj5g+pC7K+ak05/JenifRxpYZFc9RO5tq3wr+el//mKOgCM+4GYjg9TK/brF6Xqqu1hhEEA6dadhcYv0IpBzx/YbJdZlwJujaKqlHKY9l1X/EWP85El9Ht6d5/UaK74iGPNwghQDIWExc8ZjMntRNWZtVJ60I+yRy7zItgRVSPm7SYkDKeqD4A6pcG2xiVKgzekrnaHr6wgj1nnQFHjtR9B3QFrVGcY2YfTQV2dgUwIyz9GulKORIAqBSfD0YqrcZ6Wws78eO5xpQFdzBp6h9zr8kL55Jg==
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "Andrew Cooper" <andrew.cooper3@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Wei Liu <wl@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Thu, 27 May 2021 13:46:52 +0000
  • Ironport-hdrordr: A9a23:U1dkP6vj16kmshsVco91P1sI7skCToMji2hC6mlwRA09TyXGra 6TdaUguiMc1gx8ZJhBo7C90KnpewK7yXdQ2/htAV7EZnibhILIFvAZ0WKG+Vzd8kLFh4tgPM tbAsxD4ZjLfCdHZKXBkXqF+rQbsaG6GcmT7I+0pRodLnAJGtRdBkVCe32m+yVNNXl77PECZe OhD6R81l2dkSN9VLXLOpBJZZmNmzWl/6iWLyIuNloC0k2jnDmo4Ln1H1yzxREFSQ5Cxr8k7C zsjxH5zr/LiYD59jbsk0voq7hGktrozdVOQOaWjNIOFznqggG0IKx8Rry5uiwvqu3H0idrrD D1mWZkAy1P0QKUQonsyiGdnDUIkQxeqkMK8GXow0cK+qfCNXQH46Mrv/MqTvPbg3BQ9u2Unp g7hl5wGvJsfFr9dR/Glq/1vidR5wGJSEoZ4JouZkNkIP0jgZ9q3MEiFRBuYds99ByT0vFuLA A4NrCj2B8RSyLDU0zk
  • Ironport-sdr: vH6fCUzyAP7LZcXOujOZvGGMXwpCtaTDnVkb2wnB+9DVA+P93/Qa/Mh04Y3lWk8jP17s/qh6ra 5/Vzq0aQk5umyYej5Vt9ABpx+0jB50lrO2rKkSPGjr/Zyn9weEZNRbSomoLwAYdxnmiu4fFAAz oB0iaRXOvHewb4yDfacVEd7ETEfGXZrEutJ69VeiJMdFQ29P2P+hs5wtcjOjPRwp6eGYe15sQN rmF/FEXGY8pv0Ym7PK0vT8FHIZpkhLr3FCAzx6BC9RYg/4dK3rUJg6bzKlmbq7SMjIYsrv8Q4+ H1c=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Thu, May 27, 2021 at 01:28:07PM +0200, Jan Beulich wrote:
> port_is_valid() and evtchn_from_port() are fine to use without holding
> any locks. Accordingly acquire the per-domain lock slightly later in
> evtchn_close() and evtchn_bind_vcpu().
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Thanks, Roger.



 


Rackspace

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