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 9EA3742B49; Fri, 19 May 2023 13:10:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 905B042D29; Fri, 19 May 2023 13:10:32 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id C5A6C4161A; Fri, 19 May 2023 13:10:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684494631; x=1716030631; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=03oOcuMc8bjieAMVcuAg4LcgeUUo0q9mXkdKEOkD0BE=; b=C2X4Qxk2OZkdkSuuO6LB3xqUwVm4OuDMWzn8z4Nm7cC4mtyqERxHu4Bs DfF49ylC9IPaFdgdiEZlduZWIDgWGMIog6WglXLsS4W2/vJ33B3Dr+7uQ JSU91lwjdGSukMG49pvhJ3kKDLU3PiIwzpu6t8DJgiMcS+CxxhxjLCrw2 WX/OSLtbK1C4BrRA+GBzD5SgamT3ziieVgx+/EeBT9n4o7RHFWr8o/pNA sd74VzAUa99AUc+ecZp2c/QnEN+QNB1Kt5Tu5eYkO3ym2/QpwfZTs6oM5 GPT5viHfQQGadfPDVSS3TrvvuDCNRXc/RsOEzwWtE90kYDk5xqST9JBWu A==; X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="380558518" X-IronPort-AV: E=Sophos;i="6.00,176,1681196400"; d="scan'208";a="380558518" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2023 04:10:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="702509867" X-IronPort-AV: E=Sophos;i="6.00,176,1681196400"; d="scan'208";a="702509867" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga002.jf.intel.com with ESMTP; 19 May 2023 04:10:29 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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.2507.23; Fri, 19 May 2023 04:10:29 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Fri, 19 May 2023 04:10:29 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.43) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Fri, 19 May 2023 04:10:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CKipiGkNSjoe3wjhWZouVN8Q2QWIafXa4eq0Oxj4H7m9mtGKeZ9cdEvUp6MK9xnzusnTPIfLBirAxuZCrbyrbIJeHd8iACRYJIYCi9Zc0pDP3KhfAjeIGkTghAGjlBuCezMEOKyvms5iXrXckM9xlHLu1TEh9kz+szRG3R99aWfzAd4/fafm8DLkOOk1CfgHQ4bLtc077mNdIm+q44x06VZIXDps+SlaGteVmUEocw813bUjlKR6nRhV7PScd5XVXMeo5QZ1ToZcSCM8kqMU5dfWIb32v2RtjxzdHD74aeEAzUDy7Eppga/RnAlHnXfjWvk+kj+jZePAvphCBW5mXA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=l51x9EmFGQjBUBKwlslKLDAv9j+GZoCY1BxJ/X4TKxQ=; b=eXgMhWdyIEgWmNJf4G8qxGhKbVPlnLLROJ/jse+D9KkOr/f6XuyfZGO1LmW10k0q2CkD5iGJ7mTywIwKgaBAWQXDJQgjFxVVrcFl3ln985LLlO9D6/pstAc0AGzsFxckqpAN36X4P5nt4lR5CdCcn4a0G4miCqqgYeFsqhE2XG7ZgTlCUa8CDxbQl4IvMkefv/YwFXsOpzWjhHu97IDUmcY2sfn1ZMxkWx6/8OZVSpnZMjbf9lRTTNlZjYAIaLXmOgVqBp2WWtLlLtmFKJsQjZ7sug/z/Q+0hXM3qgwvP4rc1LJoor2pytDlrr7x6K0c3M4mkqMDO0GzyN5WItFxaQ== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) by DM4PR11MB6552.namprd11.prod.outlook.com (2603:10b6:8:8f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.21; Fri, 19 May 2023 11:10:27 +0000 Received: from DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::49c0:aa4c:e5b4:e718]) by DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::49c0:aa4c:e5b4:e718%5]) with mapi id 15.20.6411.021; Fri, 19 May 2023 11:10:27 +0000 Message-ID: <8942721b-f4c4-679a-25ff-3bba4dfb15d7@intel.com> Date: Fri, 19 May 2023 12:10:21 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.11.0 Subject: Re: [PATCH 1/4] eal: fix list index for 256 byte element Content-Language: en-US To: Ruifeng Wang , Fengnan Chang , =?UTF-8?Q?Morten_Br=c3=b8rup?= CC: , , , , References: <20230519042923.314670-1-ruifeng.wang@arm.com> <20230519042923.314670-2-ruifeng.wang@arm.com> From: "Burakov, Anatoly" In-Reply-To: <20230519042923.314670-2-ruifeng.wang@arm.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DUZPR01CA0272.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b9::12) To DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR11MB6502:EE_|DM4PR11MB6552:EE_ X-MS-Office365-Filtering-Correlation-Id: adb0f688-58b8-4fb6-2584-08db5859a698 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HfgGbtLSNZjpwSHt026K4CLTAdy8w+5aO8dcxGRQ11AErj03Im9dYz7fXRfDrxxub9ZkjFsk9mJSIok5RfDkYBygeb2jNh1FrXJudBxQWFW8iQc8kzHZdKG74ZXUrinwt4JWtbgR3hClxCzDll6ElFQO4g90rFi1OgCfH+ciW5Tw7yZVJuQQz3dUbE/dzX4WZhwOhQaQd93a2r8jMllYWEnonHIai50ziF46K2ZnXl8Fc0bai4cCiXb3IXt01gQd8QbmmBsw5MeQgv7jau0RA7VNCEIViKGrKdQXYF1Lo5RCRU1hM/k6lLUnfB4YmQVngw+TpDiFRBn610Dj/QiTfNnxYz2Wq8mnXXKv9ZzYNZ4OzuxMzcoAwYr1cHV6l/ulJF78avdCYcUSl5+DLYj9Fzdwvckmd06Vc5tBcebMWTWtQcGDqD3gnn3U5t1mNjYgSNEqDiTI+p1ra11WKjbrFrzy7p882aFZK7JqzL0kJiDq+KJy9cWgdHRkUXkDp4rk8HUG1lxo3UhwLj0YfesQvmQQl97lrRJr34+thquHOzuVyruzgECfUVZx3S4hHPhcFOKa9rdnNDdD3oXOm1W/ott+ycTv0ogGm+1wTPfB9Zhgw+gxXsV7O2yxC2BJ6iuftJ3w1v0ZetmKkt5Pi1E8oA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB6502.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(346002)(376002)(366004)(396003)(136003)(39860400002)(451199021)(6666004)(6486002)(41300700001)(26005)(6506007)(6512007)(53546011)(38100700002)(5660300002)(2616005)(36756003)(186003)(2906002)(86362001)(31696002)(4744005)(8676002)(8936002)(82960400001)(478600001)(66946007)(66556008)(66476007)(4326008)(110136005)(31686004)(316002)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?L1NJODRRVVZTQkliVFNtN2hLMDZyTVgxcnFjRmhaUkt0NjdlTFFXOWJpV2JG?= =?utf-8?B?YnduN0lrUHNEV1prU0dKS1lnN3ZvTWgvcDlTWGJlZkFRRjFjdmROOERPWklM?= =?utf-8?B?UXd5d3RlTFMyZkhoQlFnMjZsVVNxMjlkMy8ycTJpdlFBelY4RFd5RmhaRDZX?= =?utf-8?B?L1lSWU9WcFhOR3YwWDBudUJPMVRTUWN6WDlHQjg0NU1nRWhkMFVPSzVQWnZs?= =?utf-8?B?OHNUVDZMU0p6Mi85QkVJNHVxMU1wK09DNWFTL0VkdE04TEFDU1BPRUtPWmdH?= =?utf-8?B?bHNOaUEySml5S0RPZjlXWi9VbldpTENHcEhWOUg0Vi9KNFV4Y2pCeEs3ZUZS?= =?utf-8?B?bGwyU2FTemFXYlMzL0x1MzFyaXZXNWFSUlRWOXR4N3R4aEpDdHpkUnlKWlZ6?= =?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network-Message-Id: adb0f688-58b8-4fb6-2584-08db5859a698 X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB6502.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2023 11:10:27.5841 (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: azE/K7tfFUc7Ok2ln9QT+KqmfcPt6cDfqRcP4j5k03/BHzy7QZVH9G7/57IBJ26MNgbRnU9mFEp5jw7ZpWlca+wZjlvDfkjQBoR3thyF5nQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB6552 X-OriginatorOrg: intel.com 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 On 5/19/2023 5:29 AM, Ruifeng Wang wrote: > Elements with 2^8B size should fall into index 1 of the list. > > Fixes: f62f4a375ff4 ("malloc: optimize 4K allocations") > Cc: changfengnan@bytedance.com > Cc: stable@dpdk.org > > Signed-off-by: Ruifeng Wang > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly