From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4CC1AA0526 for ; Wed, 22 Jul 2020 14:47:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 14F0E1BFEC; Wed, 22 Jul 2020 14:47:58 +0200 (CEST) Received: from huawei.com (szxga02-in.huawei.com [45.249.212.188]) by dpdk.org (Postfix) with ESMTP id 0EE0F1BE90; Wed, 22 Jul 2020 14:47:55 +0200 (CEST) Received: from DGGEMM405-HUB.china.huawei.com (unknown [172.30.72.57]) by Forcepoint Email with ESMTP id 778B663361DE30D223B2; Wed, 22 Jul 2020 20:47:52 +0800 (CST) Received: from DGGEMM533-MBX.china.huawei.com ([169.254.5.165]) by DGGEMM405-HUB.china.huawei.com ([10.3.20.213]) with mapi id 14.03.0487.000; Wed, 22 Jul 2020 20:47:45 +0800 From: wangyunjian To: "Burakov, Anatoly" , "dev@dpdk.org" , "david.marchand@redhat.com" CC: "Lilijun (Jerry)" , xudingke , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 1/1] eal/linux: do not create user mem map repeatedly when it exists Thread-Index: AQHWW3ZmgB5dNI3zqkWPHLvQlTmbM6kLTZWAgAABGQCABGjB4IAAIjUAgAO7RMA= Date: Wed, 22 Jul 2020 12:47:45 +0000 Message-ID: <34EFBCA9F01B0748BEB6B629CE643AE60D0DD75E@DGGEMM533-MBX.china.huawei.com> References: <70169443-f475-a632-c1f8-6e993bea726c@intel.com> <34EFBCA9F01B0748BEB6B629CE643AE60D0D8765@DGGEMM533-MBX.china.huawei.com> <332ede30-4dae-1fde-b288-25f29469f3e7@intel.com> In-Reply-To: <332ede30-4dae-1fde-b288-25f29469f3e7@intel.com> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.174.185.168] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH 1/1] eal/linux: do not create user mem map repeatedly when it exists X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBCdXJha292LCBBbmF0b2x5IFtt YWlsdG86YW5hdG9seS5idXJha292QGludGVsLmNvbV0NCj4gU2VudDogTW9uZGF5LCBKdWx5IDIw LCAyMDIwIDc6NDYgUE0NCj4gVG86IHdhbmd5dW5qaWFuIDx3YW5neXVuamlhbkBodWF3ZWkuY29t PjsgZGV2QGRwZGsub3JnOw0KPiBkYXZpZC5tYXJjaGFuZEByZWRoYXQuY29tDQo+IENjOiBMaWxp anVuIChKZXJyeSkgPGplcnJ5LmxpbGlqdW5AaHVhd2VpLmNvbT47IHh1ZGluZ2tlDQo+IDx4dWRp bmdrZUBodWF3ZWkuY29tPjsgc3RhYmxlQGRwZGsub3JnDQo+IFN1YmplY3Q6IFJlOiBbZHBkay1k ZXZdIFtQQVRDSCAxLzFdIGVhbC9saW51eDogZG8gbm90IGNyZWF0ZSB1c2VyIG1lbSBtYXANCj4g cmVwZWF0ZWRseSB3aGVuIGl0IGV4aXN0cw0KPiANCj4gT24gMjAtSnVsLTIwIDM6MDAgQU0sIHdh bmd5dW5qaWFuIHdyb3RlOg0KPiA+PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiA+PiBG cm9tOiBCdXJha292LCBBbmF0b2x5IFttYWlsdG86YW5hdG9seS5idXJha292QGludGVsLmNvbV0N Cj4gPj4gU2VudDogRnJpZGF5LCBKdWx5IDE3LCAyMDIwIDEwOjI0IFBNDQo+ID4+IFRvOiB3YW5n eXVuamlhbiA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