From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0078.outbound.protection.outlook.com [104.47.0.78]) by dpdk.org (Postfix) with ESMTP id 591101B1AF for ; Wed, 3 Jan 2018 10:37:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=L+6dXq0GAJ38KAyNn4vvsP+R1ehO7UoX6zMNl0Nx67o=; b=oGFZyeuzH5dkDvwQaCt9qnyHU1VPEbEWKQ8AHwroqprjfx9t4GD5AgFFRUPfucicwiFLpdeclFbhkMXW6YznKQJymQ8z+nS9U2GL87w7wlG9l1s6OQuILH7yCeRTB9iGm82JIVsi+o/2QlDg75ENCe5dMqkrQQx6Zgqx7RMA95A= Received: from VI1PR0502MB4079.eurprd05.prod.outlook.com (52.134.19.16) by VI1PR0502MB4079.eurprd05.prod.outlook.com (52.134.19.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Wed, 3 Jan 2018 09:37:00 +0000 Received: from VI1PR0502MB4079.eurprd05.prod.outlook.com ([fe80::2d85:1da5:5535:f39c]) by VI1PR0502MB4079.eurprd05.prod.outlook.com ([fe80::2d85:1da5:5535:f39c%13]) with mapi id 15.20.0386.005; Wed, 3 Jan 2018 09:37:00 +0000 From: "Xueming(Steven) Li" To: Jonas Pfefferle , "Burakov, Anatoly" CC: "dev@dpdk.org" , "jianfeng.tan@intel.com" , Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH] mem: warn if address hint is not respected Thread-Index: AQHTUifc4lIxjzZHR0i2ImX6xEEEJqMH1sgAgAEkvgCAAXAJgIBLshgwgAwmwQCAAAIU4A== Date: Wed, 3 Jan 2018 09:37:00 +0000 Message-ID: References: <1509440909-8068-1-git-send-email-jpf@zurich.ibm.com> <10656029.OGFJoE0f1c@xps> <55afaf0a-14cc-11b0-c7ec-21ea1bc2403f@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=xuemingl@mellanox.com; x-originating-ip: [114.83.161.171] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0502MB4079; 7:WjR5upSFuNvfdNkEVVxBStMqqRBgzaLk0RQ9K9l7cz4AlqTHP84d14p/QZbzgHsbOHE9ntfdYaZR4UObN1pCz3Dyosw2DJZ6tms6+/UUzph417knwgnBGTNZIc6Zey7R7CftGS8UgxDT9SU5T/yLTac9EK+Rjl0cvwfixufMXR7m7LujSp/fiqdQwga9s9KtMdpW8zjMC8S8q8HZcxOg8/P1xEDCYstf7eTBrLBeiu4jJ/KILVrczF8+hxFZ0s1O x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 731c465b-f732-4c3a-a5b5-08d5528d8a46 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(48565401081)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(2017052603307)(7153060); SRVR:VI1PR0502MB4079; x-ms-traffictypediagnostic: VI1PR0502MB4079: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(104084551191319)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(3231023)(944501075)(10201501046)(6055026)(6041268)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:VI1PR0502MB4079; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:VI1PR0502MB4079; x-forefront-prvs: 0541031FF6 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(346002)(396003)(39380400002)(376002)(189003)(199004)(13464003)(24454002)(2906002)(7736002)(2900100001)(5660300001)(305945005)(66066001)(2950100002)(8676002)(8936002)(86362001)(25786009)(81166006)(4326008)(81156014)(74316002)(68736007)(53546011)(6506007)(99286004)(59450400001)(6116002)(5250100002)(97736004)(102836004)(3280700002)(229853002)(6246003)(3846002)(3660700001)(316002)(53936002)(54906003)(14454004)(478600001)(106356001)(105586002)(7696005)(93886005)(76176011)(33656002)(55016002)(6436002)(110136005)(9686003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0502MB4079; H:VI1PR0502MB4079.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: JoL8iOCNagISQ8BS+OHKjX5KhjP4jcNfKBJIPWKS4qMd36falT1XmxNyn21J5q6ffesG+3k1vaT0gXLOhMfN4g== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 731c465b-f732-4c3a-a5b5-08d5528d8a46 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jan 2018 09:37:00.5295 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB4079 Subject: Re: [dpdk-dev] [PATCH] mem: warn if address hint is not respected X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2018 09:37:02 -0000 U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