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

RE: [PATCH v2 2/9] xen/x86: Use enumerations to indicate NUMA status


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Wei Chen <Wei.Chen@xxxxxxx>
  • Date: Thu, 14 Jul 2022 10:26:35 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; 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=4oTIMlQg8UVVIUd34TiOjZI3QtD4f96r6dKnDq6w/PY=; b=DbZ/fMs8gEBZ0m8g0obepSOnXTdvkyItIqPttM1MF7rylSdS3r8xYki9/HcpLNsTTe6vGwcdcwW3JhFl3Alt2g3oupo9yXExrCVrDvpfo34a8LqutMKIA7FVG+lqJGwOCLrWqdQ6dLG+Mddh3mnwLYotKZQMDoH7EXIC0tm0zwTPRugl5oDFt/TOdSor9T2Gfgt+DFGDGX24dBHUt8Bn0BS6x/l2npM5nj9RcXkHpIddC+3Hr9HjEeqp4izGg+DApLWD3X5UXKckf8+GPHu8wPK9DbpeGyaHyGd3sNzIAyWnGSVW3v5c5otC49SOUfK7Lx3O35Vaw1LpftHNwMIyaw==
  • 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=4oTIMlQg8UVVIUd34TiOjZI3QtD4f96r6dKnDq6w/PY=; b=obKeHm0rEY/9oeZeUFrjEadyLrCP/6Q+2Bou5Ztey8Vusw7/YIdHCyXeOKcIQXA4FRPBr25JU5A0HQCKdEBlTcvR912vBm2eMxACg8qQGDBoOUXMRaKbj5jfwOiseSWFHtKbEKCZuT8+ZDs6uiLJa1o1T6PdyjKBnI1i5yORNCbwPJl1HaEn+vg2zLYH0SjiI8TlovScuC7y+ZUWFCLuGICqsV7wtcdqGXv7YlVC0fKUX7j20TScCh223gsfZ1QZC6c9Hq8+N4+ZyM+XImhfrrmTFiSsRhMiAf/c+/i1FraI8fZwwdNfabaHLccWaSXe8KSo9GJocLw+ieD+7bY0+A==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=fgtqguuO4W7xna52fzYUaqe+QscS5zO3jn2b94miYB4+YrXy7mhOr+8P1HxUzG8XgPSunC12Qrk3RTnrAlTphj0G9TuNeUwv8aaMzEdem8TAk9CBeWaqzJO6WzyYL6vf2JJ6RGzR2yTlPfQDA2Kg6VTmmFlosI5o9JwHtUj/piq8wqNJUbebpiyqg2xjyQPFzn9uQg9mH7th9MDSCGvN6kiv5hQfZKlswCat84KtFVSNapvLBN6sgiRaY7tzPX0cngK+c4OiMOjUIJWH6QCM2OadUxClfrsA93wCq+/Q0+/yPjax2oxJG0k8IyB/u0De2P0C46nujYy9FnS0wDCDsw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y2v7w5OH8jpkRNwORYM6BMyDtAuWHALlDsDFJafZxNjEDZnmmQGWYboSoLVIvsPZnC7jzywfLYmptKIQMen1lsqAOVsqHt4TpIc331P8WFYeFQBlZmSOwfmuvbseWbbfRfbwZzmfI5+CCDfPTSHpXbbn8Svsz3L/bim5luMG0ZCF1PhI5uY8I+D49zpJ8JcpxJYDP7gzTqwTyj1CHPOooFKphWSrv5em7bDlUlECTo1tH011Hu3WodPnXmlTjoHPIkxCeNcpQpi4VRv7lnYLJWWIoOA+MHwxEgsAATtk1MevD6dw95g/pyi4HSf/P+AcHfSiD0xUlMUlHtTK9+oo7w==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: nd <nd@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 14 Jul 2022 10:26:52 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHYktrASbKlS5xyGUK27wSgSLVuo616tdwAgALfc0CAAA5jAIAABItggAACa4CAAAWRQA==
  • Thread-topic: [PATCH v2 2/9] xen/x86: Use enumerations to indicate NUMA status

Hi Jan,

> -----Original Message-----
> From: Jan Beulich <jbeulich@xxxxxxxx>
> Sent: 2022年7月14日 17:58
> To: Wei Chen <Wei.Chen@xxxxxxx>
> Cc: nd <nd@xxxxxxx>; Andrew Cooper <andrew.cooper3@xxxxxxxxxx>; Roger Pau
> Monné <roger.pau@xxxxxxxxxx>; Wei Liu <wl@xxxxxxx>; xen-
> devel@xxxxxxxxxxxxxxxxxxxx
> Subject: Re: [PATCH v2 2/9] xen/x86: Use enumerations to indicate NUMA
> status
> 
> >
> > How about update the table like this:
> > +------------+----------+----------------+----------------+------------+
> > |  original  |          |                |                |            |
> > +------------+----------+----------------+----------------+------------+
> > | numa_off   | true     | true           | true           | true       |
> > | acpi_numa  | 0        | 1              | -1             | x          |
> > | numa_fake  | x        | x              | x              | fake_nodes |
> > | enum state | numa_off | numa_off       | numa_off       | numa_off   |
> > +------------+----------+----------------+----------------+------------+
> >
> > +------------+----------------+------------+-------------+------------+
> > |  original  |                |            |             |            |
> > +------------+----------------+------------+-------------+------------+
> > | numa_off   | false          | false      | false       | false      |
> > | acpi_numa  | 0              | 1          | -1          | x          |
> > | numa_fake  | x              | x          | x           | fake_nodes |
> > | enum state | numa_fw_nodata | numa_fw_ok | numa_fw_bad | numa_emu   |
> > +------------+----------------+------------+-------------+------------+
> 
> Well, this makes the table complete, but it doesn't explain how you mean
> to fold the settings of the two command line options into one variable.
> 

No matter how many separate "numa=" parameters have been parsed from
Command line, the values of these original variables are determined
after parsing the command line. So the determined status can be mapped
to the new one variable from above table.

Thanks,
Wei Chen

> Jan

 


Rackspace

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