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

Re: [PATCH 5/8] xen/evtchn: don't close the static event channel.


  • To: Rahul Singh <rahul.singh@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 5 Jul 2022 17:17:27 +0200
  • 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=usbEfZzNOLvr7RyaAHO1ybkqAzyYaYrE75GvVWP5K2A=; b=aD0ZIuJ7d0CNxQ4af2UcOdYUGeEmxgB61dtQr4dd6Mis+/ig1Ut9kTzkEXns7uNkxLMPRo3+8KOm8hiplZvB5Uug7vi/UrDsYF7iTtFSxiOI98vrkQn79srU4j/eCNDpssPXfvBhSMlQwAJzhEHAi1QiVy5UY05N0c8iNb6Am2Fc5ayfrg1aiN9g6CZqT7j8E02RArhrxDzwd2BL9LkKLppVCD13K6jYxQXGDe7SYCjARy9ztOkGpVHvCHAd8G98dsOJyCCcIiqY1EpsrReBQ6/7KrJDiXo36ni0svCWJYyL77BpCHFlN5J2JHyHtl4wsZeKyONnGefyGYuuq9Yo6A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dODqLNb418uyHRTES+tBzVqPzp20y8uVZnoJsPJlNblPV2FMfV9XRySEUmpt1XvhVnmeO20puU5pHqasHaFHOoMUCJJT0IiOySfmCRfGDYh7aMtycetCQb7yGj6hd62Cyoj1oEu/5BzrV1qUjgcWX42iuMqytSQvRYj1ugb/SSPcatthWBC6+JDB5g2lznRIas2StBItBzY8pVJ5Mh+lL8XezUQMTqiPl/m50faUnPAIj6OtRM6eLwQ3V5rX9OGRaDTMzyFp5PbTL4+D3NIt04w4foHmNT3qiypkNzzAuXAwjXdIGSZ3xFiU8+dPe6eJ2ZU4PJFe/oQrnMI0e9VU5w==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: bertrand.marquis@xxxxxxx, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 05 Jul 2022 15:17:37 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 22.06.2022 16:38, Rahul Singh wrote:
> --- a/xen/include/xen/sched.h
> +++ b/xen/include/xen/sched.h
> @@ -119,6 +119,7 @@ struct evtchn
>      unsigned char priority;        /* FIFO event channels only. */
>      unsigned short notify_vcpu_id; /* VCPU for local delivery notification */
>      uint32_t fifo_lastq;           /* Data for identifying last queue. */
> +    bool is_static;                /* Static event channels. */
>  
>  #ifdef CONFIG_XSM
>      union {

_If_ this is the behavior we want in the first place (which I'm
unconvinced of, seeing your discussion with Julien), then please
be conservative with growing the structure. There are available
(padding) bits, so you should first try to use any of those. If
that's impossible (or undesirable), please at least briefly say
why in the description.

Jan



 


Rackspace

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