From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8B216A0C45; Mon, 19 Jul 2021 07:19:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 486194068B; Mon, 19 Jul 2021 07:19:28 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id A138E4067A for ; Mon, 19 Jul 2021 07:19:26 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10049"; a="191276500" X-IronPort-AV: E=Sophos;i="5.84,251,1620716400"; d="scan'208";a="191276500" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jul 2021 22:19:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,251,1620716400"; d="scan'208";a="430634548" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga007.fm.intel.com with ESMTP; 18 Jul 2021 22:19:25 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Sun, 18 Jul 2021 22:19:25 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Sun, 18 Jul 2021 22:19:25 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Sun, 18 Jul 2021 22:19:25 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.170) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Sun, 18 Jul 2021 22:19:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SbH6tngnPkhOTE6u4IW5e6kb9hGx5chEB10e9VDSezoirSqZLiPTjP884ykfUMpCA3y8QuuhdbOi57xEkb1fx1NsSXr+JAJ2aZA2mQ62XybCHIqmj70qjA5+Zo8neP6MtxOz9fVH/H9VjKewmmngqrw8hJhMToZWW1H3E4ztaNTjTSRZbN/29PyBYXfWWalUg7PoLF5vdy5M1IJ5ZqcoVwRBUoCVvNKecPksmecUtSpG+1DWBmKZJzm+98JEncMQiU4LvmDyZ8M0a6jTsz3bq6MNHRRX07vrNxOE+NyPKqmZhwIk+OOSYjxpb/+e6UOmp522l/NOUFOEvPz/QvA4Rg== 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=jBJL6vN9+0/qPX8TM/2EMVyed3SRno9WfYU08jtv8BQ=; b=M9k9st1Tw3VIOGTGIq9XUB4hnXLrkeZjTi7dVKWckJOyZus9r4Doq4T8lYMs6dUSJSRa573MvwzQfmGCnK3R6agybT3+4T5fAKLyY751FaEr1muT4S3UAPW76gWffuDgXRU+bxplQ0CHOi2JT1rx/Xjz+inHIzQTQibXAldw3D08hJkxGcs24sWA/+Zn9cOyjqhGgxDdiS8LkCQHHI2sAjKVS7puyEONKa83++YpE1LuJUGS1uCNFbFTPzC4xgkqORklVwmO5BnDWsrz/NCo9lSfu7lEw2AfrZOGZYN9v6ZQ5NkZgZNsEDeCydYZdAmz3s3ELeUrQOxrBPNMnTDITA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jBJL6vN9+0/qPX8TM/2EMVyed3SRno9WfYU08jtv8BQ=; b=JNXVT8W18fZM9lMzwsXMxjspaQGjvIdarGuipYN9AJybyco7rOmoMiyajnMJlfWZzXuvts+2NatXe1jnPZe7EyfYjkuTGMoSy//CWe4tmL6w9coeDp0olF4/21/Hl0rNJ44fN3ApadReP9CvF9ApX0RLm8g7BTxiR5NbwBNxu1g= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3839.namprd11.prod.outlook.com (2603:10b6:208:fa::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.24; Mon, 19 Jul 2021 05:19:22 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::d447:3a7a:aad7:4d32]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::d447:3a7a:aad7:4d32%7]) with mapi id 15.20.4331.032; Mon, 19 Jul 2021 05:19:22 +0000 From: "Xia, Chenbo" To: "Jiang, Cheng1" , "maxime.coquelin@redhat.com" , "Hu, Jiayu" CC: "dev@dpdk.org" , "Yang, YvonneX" Thread-Topic: [PATCH v5 3/5] vhost: handle memory hotplug for async vhost Thread-Index: AQHXehYCjl+pbe1xdUOxMQuYZSdmpqtJxG4A Date: Mon, 19 Jul 2021 05:19:22 +0000 Message-ID: References: <20210602042802.31943-1-cheng1.jiang@intel.com> <20210716072436.19017-1-cheng1.jiang@intel.com> <20210716072436.19017-4-cheng1.jiang@intel.com> In-Reply-To: <20210716072436.19017-4-cheng1.jiang@intel.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e11427a0-1cc9-4bc0-2347-08d94a74c493 x-ms-traffictypediagnostic: MN2PR11MB3839: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cCBdYVrxGxZmAlxPchi8IvdsQnSxBusIwnz8mr3aJOQYtVKkfsBWEbP0dVqKmkMKKxSSAqxjjjPbVDkngU6co829aaci+cPvkwksjbZ2EjHeYRlKo+5kgJ8vZ9dOQ1WzytQwWQ54lCmST6/A77ILtgJjOSqPDXToD1OOPOORolCaQkeOxq9ZxSoMI/Z+b1E82kw4PAOMjL02tMiOmNQZljYfjY7pn+pzqTa6AsVBLO+V7m/Kf+gbafHDCZUdr84KS/sJDRimXsMDRrseYv89y6Qh/SGbMLGPP71MkP+XsO+f9JvX7y6cP/fIcBy68b9Xa17GVBEiC1tJT448gjfELHFxhAy7kiYqJfNkhwjJZEDTwXvTeUFtG3a/TD3Uuukre97OOHgh0LkdDoch1GD71xvpZ+faaxiStAiieB3gqGk4lA3WGgGtyty5QX7nFSJZRmNoz5ut02D4ZpvwxyXTpxxY2H5e5MEQOeFsptglxVdFqloVV1nF0B40yPJGDE+YrlnqBJfGEvb+m39b1jQDfZbr4lOJm3Wd9Hp5bO0pVFPSTG76fNSx3lx6Dt/M4rQt/4jDrtf11khtPwB/EBQAymBtRaa6+wVV6gNa5dghojdHJxgjsQwTpOlUlusGbtwbWV+m5OGRvp03iq4SI1So2WnhURoJeIf3ornGZELTaaTg7gNkNj0wGuMZzXosxgksJIBC7sT97T2PqFRvaiEnSA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(376002)(366004)(39860400002)(346002)(136003)(71200400001)(66476007)(66556008)(5660300002)(7696005)(110136005)(76116006)(316002)(83380400001)(186003)(33656002)(64756008)(66446008)(66946007)(54906003)(26005)(8936002)(122000001)(86362001)(53546011)(8676002)(4326008)(55016002)(6506007)(52536014)(38100700002)(478600001)(2906002)(107886003)(9686003)(6636002)(38070700004); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?VmNnZ2QyRS9yblBpVXkzVEYvMk9iVmNFWFp5cThDVFptRWUzUUtQREM5VjJj?= =?utf-8?B?Y1RmL0xTU2JGdDVUZUlvSTNlMlV5V3o3ZGMrMnBvZWNnWjZEdHVhbXVvSkll?= =?utf-8?B?WVZ1WFpNU0svVnovRVpMc2ptTzNveGtxYUY1akx1b1hidGpEcUJ1aGRvcEVY?= =?utf-8?B?YjFLazNocFZGL3hxSWJVQ0hCdkhoT1hlODhOdjVsTkVrcVJWYStoWEYrTm5D?= =?utf-8?B?OHQ2R2R6blA0SXZTSFYxVXN4WVQrQisyL2twMnl3RktiRDJlUEZQelFSeHZi?= =?utf-8?B?ODBLeTljdWhOOCtDNGZLUmtEZDlZNXJwR2xXN3R0VGRJNmV4d2JiSFVWellx?= =?utf-8?B?VjdzOVA4eGdJTkl4ZDA2WkNoVWc3NzVoQWVwaElldDRjNGVLdE56bGZhNzlG?= =?utf-8?B?TzZFVTdCcWJ5eVpYQjkxYlRXRlJqUmMvVlY5ZXRHY0xaZzRYT2cvNnBIeVFj?= =?utf-8?B?eks0b0lubXc4cVBCZ1FpL25DQmNKYlRkZDU0cU04ZlNRMHpsb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VHNlclcxM2o2UXFDbkdS?= =?utf-8?B?QUpNNHNXOFFaOGcyY3h2KzdFaFZJRGp1RnArR1NXYWd2SUVkYzFIc3ZyU1FQ?= =?utf-8?B?YXJJdkYxeHZMTERXNXRRZEVyUG9JVVhrQkZhRDBXTVduKzB1K1huTXhZMlBH?= =?utf-8?B?NmUxSEVyRmt3TldXMkxTRFQyd3FhTXZPUWIxTGVDR0R3VWU4Y2R2T2hYekQ1?= =?utf-8?B?eGhFbjd4cXFUK1A5RmR5M0hHOGtXQUY5Nlc2YjJUUnA3c09iT2l5cjNqL2Fr?= =?utf-8?B?djdYY3M2RzYrRzBpVVVqU0M5S3RtN01va2NMNlJUZDJGRm0wdTNJaXZQUHBs?= =?utf-8?Q?CODeOtDQeKpOcjk7lwqTFiFCShVBQTEPQUydXQl?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e11427a0-1cc9-4bc0-2347-08d94a74c493 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jul 2021 05:19:22.3075 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: UUjM9FR6KGZ3JEbLDOM9gsDZDK/4io0mGjTbrcXBHrir7NAWQhEa5s7yvFOG+ZsHKgtWeRDy8XfKaRXUzWYRSw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3839 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v5 3/5] vhost: handle memory hotplug for async vhost X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-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