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 C207AA0471 for ; Wed, 17 Jul 2019 19:31:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D8AFB1BDFE; Wed, 17 Jul 2019 19:31:35 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id EA8441BD62 for ; Wed, 17 Jul 2019 19:31:33 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x6HHTpsd000663; Wed, 17 Jul 2019 10:31:30 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=+ToeKv9NfBxnGtKqdUDojzLhQdWvI5vZ9wrZuERYqQM=; b=dCSPWCMVjmkoNWkUkplHVho7ysdZ53bRCz+7MOsOzrBQ0XZF+yXwviA8lx6mV6lNGe3y wbxb1itWC9/g37SESk6Qc0IC6ROm/TaM2piIlySAVqvtoWa6L1N4Nxespwsskfrmox2X gXPpogqZgM+nzmFGuMAP8W9QRZONRRt1xp8SIJgA08FWlAX04MnC73SRDZTaAQYBOpvt KKNk+LQ4aHJmFHAbpp8YI2VstnB3MgPB55b0q4qZzkD26wTEJrsmtZ6la8ok/KdsLpey kGx55BMJs1RGCDcgzLzuYyzgo/X7zB6uyZUPLHJQXR+TZMAj9nFdFJyFdBmAT9c5mn8v jg== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 2ts07vh9gx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 17 Jul 2019 10:31:30 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 17 Jul 2019 10:31:27 -0700 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (104.47.34.56) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 17 Jul 2019 10:31:27 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O4HiW5cjs42ltLayCVQsqXq4p7Q6InXfMF9ecjxUTk/RWKBTudlU1hWEkOGgVAyNJKQB/nXtCrgJYd299lfPw/Vicm3EUnXMl72o6yCpgGgUCWEH+flNtfxC8AZTGl61iiaDLBqaHqejU126/s3SPuWQv3y3lS65+z1bUaq2TKh9X7iL89fpCRSXkbCKQqvvqg5ULIh1GdVBjdELxVHfyBK1bXlOXA4PVLDdNnsY1UKJefNPzQ8ByBVKXLQoa53uC9MPzEkevdl+HZRyLvLT6MqgFal7YLlK5oxN461X9Fin96EohSm7mbiHdBCrc3RdvnOnn/cBaYo1rP8CQU+NVQ== 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=+ToeKv9NfBxnGtKqdUDojzLhQdWvI5vZ9wrZuERYqQM=; b=FP+XItrONjgkO+Khu5Qs6ZuRNF0KhNbN0B919Q0tS+O+0z69wzq90urHUvHmPCICYOawajAfS0KXZjjYPYoDUISCTg0qvX0v1f1ZQfKBjZKKk9W03V+shJZhGUSy5kycVqL2TAoFNDFbJ7/nOuqwPwhKCoThCjRpAQKMMGt07r69YIk96REpgJTJUS1l6NP4HsUOhlxDhRN1LL5MhKANWy/aptKzyTvFeuazyuUvUNPdmr+3UWWXTlKxTAVyWhjjEiyDocLjg2o5AeDFShfLWK/gVuQ+v3YjOpNosFY9pXrwpq2DslCNMACALZ9pOejrKLshzvtI0nfrP2ZqrKbcKA== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=marvell.com;dmarc=pass action=none header.from=marvell.com;dkim=pass header.d=marvell.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+ToeKv9NfBxnGtKqdUDojzLhQdWvI5vZ9wrZuERYqQM=; b=uuRix+nXgUFjALFmiZOM188hhp52r++Tgzfea9rvSOt1qd5INsBwEKb4fET5H3v9dw9aCeW8H+ffF8GegWV+tLeBI2UY4etst/m14yZnvlalxmgGp7z5xGIJuj6skCLNPfH8vEqxghOx6ePIiuiiFmdaA4Wv6XYSKlprYFUV1fY= Received: from CH2PR18MB3381.namprd18.prod.outlook.com (52.132.246.204) by CH2PR18MB3128.namprd18.prod.outlook.com (52.132.244.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.14; Wed, 17 Jul 2019 17:31:25 +0000 Received: from CH2PR18MB3381.namprd18.prod.outlook.com ([fe80::189c:3889:b207:8922]) by CH2PR18MB3381.namprd18.prod.outlook.com ([fe80::189c:3889:b207:8922%5]) with mapi id 15.20.2073.012; Wed, 17 Jul 2019 17:31:25 +0000 From: Vamsi Krishna Attunuru To: Andrew Rybchenko , "dev@dpdk.org" CC: "thomas@monjalon.net" , Jerin Jacob Kollanukkaran , "olivier.matz@6wind.com" , "ferruh.yigit@intel.com" , "anatoly.burakov@intel.com" , "Kiran Kumar Kokkilagadda" Thread-Topic: [dpdk-dev] [PATCH v7 1/4] mempool: modify mempool populate() to skip objects from page boundaries Thread-Index: AQHVPH624Ha7pKpKPEODiG+yoZDXFqbO0FKAgAAs5nA= Date: Wed, 17 Jul 2019 17:31:24 +0000 Message-ID: References: <20190625035700.2953-1-vattunuru@marvell.com> <20190717090408.13717-1-vattunuru@marvell.com> <20190717090408.13717-2-vattunuru@marvell.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [103.227.98.232] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3291dcfe-5884-439a-1941-08d70adc981a x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:CH2PR18MB3128; x-ms-traffictypediagnostic: CH2PR18MB3128: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-forefront-prvs: 01018CB5B3 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(396003)(136003)(366004)(39850400004)(189003)(199004)(13464003)(53546011)(76116006)(6506007)(25786009)(26005)(102836004)(99286004)(66946007)(14454004)(11346002)(446003)(53936002)(4326008)(76176011)(476003)(7736002)(6116002)(74316002)(6436002)(33656002)(64756008)(107886003)(54906003)(66476007)(316002)(66446008)(186003)(66556008)(6246003)(2906002)(71190400001)(66066001)(229853002)(486006)(71200400001)(81156014)(8676002)(2501003)(68736007)(81166006)(8936002)(110136005)(9686003)(5660300002)(86362001)(478600001)(256004)(305945005)(52536014)(3846002)(7696005)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:CH2PR18MB3128; H:CH2PR18MB3381.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: utvhAiq+kaMCWTQhP40EunFYjvXZE1jCcVXG1dUDMFIVvKBNrsVR9f5NMRKBhT51dWBdSjqelD5A3haZHeudH9bm6uvhxxsN+ZxkG+Y3BDRTH5b7fNOXAdUpdKkdibBZl0sqUtVacW7xROvXulMvO0IL25QPmD0sD8L3RNl34mdICbZnApH8dQgeaL5DJQRuL5Kl8NQelYhs4HMl35GU29ucASV3T/SKf+oy8d8stv1r0bjv/a5ajv72X1QLfPG2DKlY3kN20r7k+VGmLkaQcK7sry3PDLDW2rmZ0nWseKfULSZg6W7UMn09mb0nlewsNztCeZ8O2/0vUeznXFK3jsOKAyN129GlxwNyok7AfHhIoL3q1vz62blpO+DF2vrL8RDljd+/RnDyoLLJ5ZF1EiPqriiLD+wFhJnSU2Ghmqg= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 3291dcfe-5884-439a-1941-08d70adc981a X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jul 2019 17:31:25.0858 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: vattunuru@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR18MB3128 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-07-17_07:2019-07-17,2019-07-17 signatures=0 Subject: Re: [dpdk-dev] [PATCH v7 1/4] mempool: modify mempool populate() to skip objects from page boundaries 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQW5kcmV3IFJ5YmNoZW5r byA8YXJ5YmNoZW5rb0Bzb2xhcmZsYXJlLmNvbT4NCj4gU2VudDogV2VkbmVzZGF5L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