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 ADA96A034F; Fri, 25 Jun 2021 04:26:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CEA6B40040; Fri, 25 Jun 2021 04:26:32 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id B56674003C; Fri, 25 Jun 2021 04:26:30 +0200 (CEST) IronPort-SDR: VY7OQ7MFvMm3Jfo7J+XUTBcUKUQ3pOa4FBzMLT9KoDkNTXPoxJ0zxFkkNs/euHQduiTbTD443E Ea+42Td4y6zw== X-IronPort-AV: E=McAfee;i="6200,9189,10025"; a="271452361" X-IronPort-AV: E=Sophos;i="5.83,298,1616482800"; d="scan'208";a="271452361" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2021 19:26:29 -0700 IronPort-SDR: eHcpcaeyQcnXDvcZXErRfID6JSQyrtGHfn6bivrpoHYvZieQybfFJ76mkDza5NAX6En1Of5rNX lCgHnRQnt3ig== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,298,1616482800"; d="scan'208";a="445510131" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga007.jf.intel.com with ESMTP; 24 Jun 2021 19:26:29 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Thu, 24 Jun 2021 19:26:29 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Thu, 24 Jun 2021 19:26:29 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.177) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Thu, 24 Jun 2021 19:26:28 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c2xPivCTy56A2prCJfL47JOQMdVgtvvMuRo/1QGZE6/93YgJFTAGiQq6MiiJSGapLsduSwcYARmssJQ6ca9+by/t58Mng+muatm9/14fbQQdUIID2IS8bgGxDmVfz7bmSfVK/5J2oTh/UlTjDPcPNRAhGiWaw8fGePraCvhU3dLtGiCHOnBsKk1k2iisPYrOqiIkOyifyq/f431iDKoIjmEAfuQghvfI/b0ixVelXlIOrzH+pze3kgJo1U+fzV4tiXrKQj51kKJFPQ7UTHOgbYrbWSd8S2Y7+4XMhnXyaLzFZqi3Gp0K6AsIl195NEFSkKW6/4YW/LMA4CZbGgu0sg== 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=jypD2oJrUf8Nzs0sszFX2WB6dGme6QJbVYMg+vAByOA=; b=ID4OwqsWb7WldkYB1TZxuJil0nHWx3OwoMiT2ODbXQtS/KoFqa938eDxTSuJutOfvG3BEZ9tK0r04o2DIWpG8hyUkpz6dLaos0cUXr8c1XfwP9i1RJstrjddp2edawvv/w8CNGOlr1BQr31A+kUh/kzvOogxVottUDcU5wyAvgoD0ORrtpjjsr5CTNqoBpv5GpqpbELJYU2zDfSUhsiki5cEJUEkjsLLZf13McvoZD6K3Y42GbltQmrrMm89xTfAL/QkOWOkPHq1EcgqI4sif9aWgTAne6UIktCpSElxVlfoP5eGcf1aTyMRg72t+aBgR2Q51l61zuZd6Ab+YGEkrQ== 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=jypD2oJrUf8Nzs0sszFX2WB6dGme6QJbVYMg+vAByOA=; b=JFAHwGhIs5rZq4RKMNJbN7zFd/hnSJyv4ewIL5teALMQgRCo7TKZ80Oo1YIQat9RzGuHVOsfA2kPFaCGzZRLCz8S6wxDPd84phzda6rPdJdLhRHvCBN3UhhyIrzojWvyEJ009/F6QFtpuj0gHShODVD+gI9IAw/dcwI/Eqjyq3E= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3632.namprd11.prod.outlook.com (2603:10b6:208:ec::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.19; Fri, 25 Jun 2021 02:26:27 +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.4242.027; Fri, 25 Jun 2021 02:26:27 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "david.marchand@redhat.com" CC: "stable@dpdk.org" Thread-Topic: [PATCH v6 2/7] vhost: fix missing guest pages table NUMA realloc Thread-Index: AQHXZErc93QykdcPxk6KPritrqpkk6skCjgA Date: Fri, 25 Jun 2021 02:26:27 +0000 Message-ID: References: <20210618140357.255995-1-maxime.coquelin@redhat.com> <20210618140357.255995-3-maxime.coquelin@redhat.com> In-Reply-To: <20210618140357.255995-3-maxime.coquelin@redhat.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.46.52] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 02268972-8222-4de2-80c5-08d93780a2b4 x-ms-traffictypediagnostic: MN2PR11MB3632: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5U1hvhrjluN0QatTRQoNDIT6p5nQ3xbgqLUNSRGQXc1h4s3kiKllvqeu8COjh7/F5CxB3LBiD+EJ54XPdyAt3SIk4w8kP/Fdop5AnMCnNLJNFYxfTBFta5PhsizvPWON94vLrF7rW9Y0V9p9/6//Ruqi4kijxENCLUUi2+RWmNJydicneZRgDkvIk6zFOA11B+G5fPZSF1O9Rm3R+NdAVe94dGNfD5AwFnfbN7e9W9yKay9MqC9UdrfwJuIqExVEG/l6Nk3gA/C8JPUhbPd2sAagfGUVAo9qgE5e5JIHU1x8rs45eX15vDDI/UsPM8WmdNtLz6gHju5nGMGy5dml4VdC1e5uIjwOZaWPOSIaFQmVk0Ni8w/NNyKP9TY/T3X2SSSjLrkxJ4+DLqq3sBmeKaN1tVE1WXqQj737c/mDD1Wpc/WGkS1CAHHkTKxcwupFkeAs45IbnStVQF9SY+KL1rvov7rCHAB6V6oiOg0bJmiHAcPsCEL4Vw2Y/bH44jb2fE6kdf8aWblrzckRiYFLV6mcLt23IU5miK7QxgE8PsN0mzz5fqbDhvXsKLBUXWvZ47EOqToeH7N+4DY5ut6m5aPoQ7qjs5NV1McrQ+soKATB0+T3BjaQ3sITh+On7A5rKstFa2b2tfhjIPrsSbp3FA== 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:(346002)(396003)(376002)(136003)(39860400002)(366004)(316002)(110136005)(6506007)(53546011)(38100700002)(76116006)(66946007)(71200400001)(122000001)(66556008)(7696005)(66476007)(52536014)(5660300002)(8936002)(64756008)(66446008)(83380400001)(8676002)(478600001)(86362001)(9686003)(55016002)(26005)(33656002)(186003)(4326008)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?TitKdzJad3ZqU2pvQ0dZanptaXpieE42Q3F0alk1dnZ6SWs1TEVjRzFLaHdC?= =?utf-8?B?b3UwR29oaWJFQTc4MjZZSk1CamVIaDdVSnB0MjloZ2tkQjVzQ1crTXdQWVJY?= =?utf-8?B?Q2RpWHA5MFErdDhySGZiajRCWEF5bk0ra3ZGcHlsa2JybjhPU3E4YWtHRG4y?= =?utf-8?B?cnZ0Zi9VeFByM1kwUHRBNy95WWhSMWJvVHpKeEtQb2x6S24zK0ZYYUdhZTYw?= =?utf-8?B?RllKeUNsajVjWVJpOGZxYmQwVnFNVFA1WjR1N1d1QVBmd2FxaUhRTHZNZnov?= =?utf-8?B?dnJzQjREbEs2T0dwTUxYZVhaYjVMNExzb256QWU5cW8vbS9QSU43ZWwvUndy?= =?utf-8?B?aVNsb3N2VjdXQitUYkllbFJHaWVvUWVuTDBDamtRWlhCVzVuMms5OUV6VVgx?= =?utf-8?B?cTI0L1EveVNZWmlLejEyVFBidGJpb00vdGU0dVcxTnBYeVF0NWEyVzBkb1Qw?= =?utf-8?B?b29tRmpobnl5cTdwMDI3SGdHY1NTdldpcG9XMkdjWWNNbWR5OGg0Y1B0cDZI?= =?utf-8?B?SnlUaXp0dDIybHVGN3piRzJUWVNkeGFycEFNdGZqRkxjR2tSbzVGOVhUdzV6?= =?utf-8?B?cWNDM3hqVkUvbUNoRTFydGw2RThjSTZ5MlB0bUJaOHhPMHoxdHRTSDlXQWlC?= =?utf-8?B?aUl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-8?B?ZHZLZVd3SnFnSUZBb2dWc2dMUWFHRXhUSlU3RFhGWU1RR04wMmU0Y3h0RHNQ?= =?utf-8?B?aXJIbmduczIvV3BVazdtelNaeVp4N0l4cXc4aVJlK0J5UHVlYWFRRTBGVmRh?= =?utf-8?B?ZGhIVmdRd2ErMlQ1dm40Sll5bHRYK0o3czNxcGlMdFlTWC90Lzg4NGdQNzVI?= =?utf-8?Q?qEDkW7ZvXDXPxbr2AA=3D?= x-ms-exchange-transport-forked: True 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: 02268972-8222-4de2-80c5-08d93780a2b4 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2021 02:26:27.2906 (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: 4KEtajFJHuOVFWWXAFELWrhAVmnBqfXe5m5U8KnzoMK6OBEiDfTqh3i1gEBE4oHmPNXozpa901Na0UavcUUayw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3632 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v6 2/7] vhost: fix missing guest pages table NUMA realloc X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNYXhpbWUgQ29xdWVsaW4gPG1h eGltZS5jb3F1ZWxpbkByZWRoYXQuY29tPg0KPiBTZW50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