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 0CD1EA0540 for ; Mon, 20 Jul 2020 04:01:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E82832B9C; Mon, 20 Jul 2020 04:00:59 +0200 (CEST) Received: from huawei.com (szxga03-in.huawei.com [45.249.212.189]) by dpdk.org (Postfix) with ESMTP id 07D002B9C; Mon, 20 Jul 2020 04:00:58 +0200 (CEST) Received: from DGGEMM404-HUB.china.huawei.com (unknown [172.30.72.57]) by Forcepoint Email with ESMTP id 119ABFA56B112A161E7C; Mon, 20 Jul 2020 10:00:55 +0800 (CST) Received: from DGGEMM533-MBX.china.huawei.com ([169.254.5.165]) by DGGEMM404-HUB.china.huawei.com ([10.3.20.212]) with mapi id 14.03.0487.000; Mon, 20 Jul 2020 10:00:48 +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: AQHWW3ZmgB5dNI3zqkWPHLvQlTmbM6kLTZWAgAABGQCABGjB4A== Date: Mon, 20 Jul 2020 02:00:48 +0000 Message-ID: <34EFBCA9F01B0748BEB6B629CE643AE60D0D8765@DGGEMM533-MBX.china.huawei.com> References: <70169443-f475-a632-c1f8-6e993bea726c@intel.com> In-Reply-To: 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 YWlsdG86YW5hdG9seS5idXJha292QGludGVsLmNvbV0NCj4gU2VudDogRnJpZGF5LCBKdWx5IDE3 LCAyMDIwIDEwOjI0IFBNDQo+IFRvOiB3YW5neXVuamlhbiA8d2FuZ3l1bmppYW5AaHVhd2VpLmNv bT47IGRldkBkcGRrLm9yZzsNCj4gZGF2aWQubWFyY2hhbmRAcmVkaGF0LmNvbQ0KPiBDYzogTGls aWp1biAoSmVycnkpIDxqZXJyeS5saWxpanVuQGh1YXdlaS5jb20+OyB4dWRpbmdrZQ0KPiA8eHVk aW5na2VAaHVhd2VpLmNvbT47IHN0YWJsZUBkcGRrLm9yZw0KPiBTdWJqZWN0OiBSZTogW2RwZGst ZGV2XSBbUEFUQ0ggMS8xXSBlYWwvbGludXg6IGRvIG5vdCBjcmVhdGUgdXNlciBtZW0gbWFwDQo+ IHJlcGVhdGVkbHkgd2hlbiBpdCBleGlzdHMNCj4gDQo+IE9uIDE3LUp1bC0yMCAzOjE5IFBNLCBC dXJha292LCBBbmF0b2x5IHdyb3RlOg0KPiA+IE9uIDE2LUp1bC0yMCAyOjM4IFBNLCB3YW5neXVu amlhbiB3cm90ZToNCj4gPj4gRnJvbTogWXVuamlhbiBXYW5nIDx3YW5neXVuamlhbkBodWF3ZWku Y29tPg0KPiA+Pg0KPiA+PiBDdXJyZW50bHksIHdlIHdpbGwgY3JlYXRlIG5ldyB1c2VyIG1lbSBt YXAgZW50cnkgZm9yIHRoZSBzYW1lIG1lbW9yeQ0KPiA+PiBzZWdtZW50LCBidXQgaW4gZmFjdCBp dCBoYXMgYWxyZWFkeSBiZWVuIGFkZGVkIHRvIHRoZSB1c2VyIG1lbSBtYXBzLg0KP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