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 A64E9A00BE; Mon, 16 May 2022 21:47:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D82D40A7A; Mon, 16 May 2022 21:47:50 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2046.outbound.protection.outlook.com [40.107.20.46]) by mails.dpdk.org (Postfix) with ESMTP id EB5D44068B for ; Mon, 16 May 2022 21:47:48 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OalcM3yjBvz1vjSwO2C25EPzC9IdFQqRLC/mNq91II6Inc51WQ1H/8Xd60UgItLZaF6W8OAUyuHQ45YBKA6GoKxz4KLAlP8irfxmYdrwgVE/4oSyn5Cu7aBSm7aWIssroSlHu3MoX2k46I1fkvSWnr6S//I66uwsqYsz9m7Yv3Btb/sJbnxFZuJxO2PX+JytOrRvnRN0bXzTo/4oUmFY080bizOIOai7ZzK6DFamVIbQXpXiTOfY3qZcKwohBqhIFE5ZmmLNaovaDED6C2GGvLygjdmTso7OlcZwmG02gB9WH/8hNbAy/9wuWRvRz/yXwsDGoUXMuV5woH/Lh+DRew== 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=cGreq9vaD9PARrp/mRey9OCkuytBKkAKeLs1VNvof48=; b=kbUa33dHvBYAZGppHeahio9b8nbOgQnwSfFj1I7AVRKTU7brHkuyp3SBaNPzWyjiLc4o3OHofNKRMl27GNaKGULhCGNRDxUjwi2w33FLcIYMvN9h7umRAkshUt+YK+rjvRgSYKYEZBTGmoTWC9toVDWXIZ9cEB7kZOlEcpsOw2RmsOorkoxm8dfAkQp1Tg/mtZA+RnKYbtDk234TPo+P8Dtr3sITMPxCvjmuN1uVk+XfeDGJyTJCTavd+bpt19DT5gAvkfQwZVuShXDqGygYwd25rill76oZStM2OGfPC232rk6z/h9FvTVC1yVgHxbOmyPB806WderLVgrsYvuvWA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=xsightlabs.com; dmarc=pass action=none header.from=xsightlabs.com; dkim=pass header.d=xsightlabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xsightlabs.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cGreq9vaD9PARrp/mRey9OCkuytBKkAKeLs1VNvof48=; b=H4R5jhZYtOSz+ypuHhZfmnQMPb+C9BrPFC7+AAfnylR+G5lm2yLbwtn3vC4EcDLG+4eMMyvYkN4dRhEXQsaPCk2MaT5mPOASErTPlm2ep4A3Y1GdMk1HBjEnr9XnOtkjElpAsnP4Tk+LRl+uozPWPwajPvDYIQV2rCmfwUQm4lQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=xsightlabs.com; Received: from DB9P193MB1482.EURP193.PROD.OUTLOOK.COM (2603:10a6:10:2a6::7) by DB9P193MB1753.EURP193.PROD.OUTLOOK.COM (2603:10a6:10:240::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.13; Mon, 16 May 2022 19:47:48 +0000 Received: from DB9P193MB1482.EURP193.PROD.OUTLOOK.COM ([fe80::3c11:328c:a5e5:7253]) by DB9P193MB1482.EURP193.PROD.OUTLOOK.COM ([fe80::3c11:328c:a5e5:7253%6]) with mapi id 15.20.5250.018; Mon, 16 May 2022 19:47:48 +0000 Message-ID: Date: Mon, 16 May 2022 15:47:41 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH v2] eal: allow worker lcore stacks to be allocated from hugepage memory To: fengchengwen , dev@dpdk.org Cc: stephen@networkplumber.org, mb@smartsharesystems.com, anatoly.burakov@intel.com, dmitry.kozliuk@gmail.com, bruce.richardson@intel.com, Honnappa.Nagarahalli@arm.com, nd@arm.com, haiyue.wang@intel.com References: <20220502141058.12707-1-donw@xsightlabs.com> <20220513175822.69905-1-donw@xsightlabs.com> <28354e90-57a1-9e30-4b4b-43d639c5f9bc@huawei.com> From: Don Wallwork In-Reply-To: <28354e90-57a1-9e30-4b4b-43d639c5f9bc@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: VI1PR0102CA0019.eurprd01.prod.exchangelabs.com (2603:10a6:802::32) To DB9P193MB1482.EURP193.PROD.OUTLOOK.COM (2603:10a6:10:2a6::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 94bbf1ba-a7fc-4055-e8d5-08da3774f41f X-MS-TrafficTypeDiagnostic: DB9P193MB1753:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QuiJS+UGyw37feplOQHNIJAaioQxJbkJcsWU8yIwufhhCE2ipMSYsKoVuHR0DYAr/sfYg+8DVPIGv8BxGpgefkfh/GO4eM3s+dKb0EMApWNnztWefaVQpeo0GOdx69kVvE/7czsByUwUnju6hhlNK2ZfSRAANzotXNhDzHvmiL5jyGERR8ZUwgGkIWpfJ27D7npEPxZRyEnWCKlDURG8/LJ9klPbv7SG5AJYttPiHR9cGctrUOR4coTPud/1c+/8ESP/i4orMBCgFwY9m8O595EHQbiWBZ2ZvWohVwHE8sH03RBTmfQ9Bj1te3H7t2tP1WPZscGQx8jwBgWjTTnc72Y6fy5P+yUlbUOSA3+qH50O2sDouMFMUI/cAOXnjM2utTE+pG567R1GRsl+Y6fihTfRDQqlMIHp/+ynMfBP1OeqeVmgZsXbGsOPsJA1Mw6aLw1k4w+PhcJcr1hy8kOq6DTKnTcVmwz3+DYa5LVmKx1d2QGWCP8z/7jV0CpVcHFZ2zv4R+pcgdA5iBYtEWFVfIamzYukKyFh/Nf+70x8Bo+mbWXDRHYyWwnr2nPOUv3EoaiwjHAJr+9MMih++BmOv/FgP+0OXPYLb2XITlGuzYsLNjBQxcrE/HuzIsghb49VhEDf0C6KHiQFkyYdRopnKJ+6AedpfTkS1K/BYJiiXduAxXM6z9IMoPNiBfZH0KFIqFb3+BfGm3S2u6a65Xv410J3YG471JyB1kQ0/ordAmd3+6swM8gHtey+mM2P+579a81N79rq4niiPvTcGI36nA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9P193MB1482.EURP193.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(53546011)(36756003)(4326008)(6506007)(66556008)(66946007)(66476007)(6666004)(6512007)(8676002)(31686004)(2906002)(2616005)(86362001)(52116002)(31696002)(186003)(6486002)(8936002)(26005)(4744005)(316002)(7416002)(5660300002)(38100700002)(508600001)(38350700002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bU5wZ0RjNU03dFVvMDc3ZVJzRDhTREFTN1NiY3FzV1VQNGJvRWZrS1Z0QXhJ?= =?utf-8?B?UERuU1hoT2IyaEYxaXhQVEhPTXhjb3l5YlU2VHF4dTRsMEtBWEk2WDV6Zno2?= =?utf-8?B?ZUM0bk1UaU1tUE9PZ1lHZjlIQTcydTVwSGs1OWpIN2w3WjBLSGFZUVpPRFJv?= =?utf-8?B?aWovNmZMOW5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YTlaREVUN05OZUZ5eXV5UjFwOUI5?= =?utf-8?B?Q2ZJUkttTGM0NzhOblBNdUlIMFdsVFFHU2JQVWdMeUY2WEpTZjRRSDZVS0dV?= =?utf-8?B?d0tSbmpaNHVlNUFFSHNtR0ZRRmo2SnBMRlBaSFg4WXJtWllIRGN3UWJXRWxo?= =?utf-8?B?ejR5NUJ0cnpDd0RVQkFVRUdkRGZyblk4UHNrSHdTOHcrRkQybmNSQnVmOHZX?= =?utf-8?B?M2lVNE1XZWJ3S0xoSkVZbTdzbjdIK1hhLzhheVJwTEZEVlBQcDZST0ZBSE8y?= =?utf-8?B?Y0JpOVd5ZVduZzhGajhVOTFVbmczLzAzWHVLVWR5R1BoOTR5NHBJRVQrVkxT?= =?utf-8?B?elZza1JNZTkvWGlFWmdFZ2xIZnR0ckpoeGxNS0lZL1Rod3hST0drQT09?= X-OriginatorOrg: xsightlabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 94bbf1ba-a7fc-4055-e8d5-08da3774f41f X-MS-Exchange-CrossTenant-AuthSource: DB9P193MB1482.EURP193.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 May 2022 19:47:47.9843 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 646a3e34-83ea-4273-9177-ab01923abaa9 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 7yODqEep+YcnnDJCmsmLAq6MtSdAyIdqkkv7u7HkJk7ID8KRUpsf2nnw1oHOfp2At9nRZN0s15BTmuQJVd7Fqw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9P193MB1753 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/13/2022 11:31 PM, fengchengwen wrote: > Also, this patch seem only adapt linux, what about freebsd/windows? The intent was to add this support for this optimization for Linix only initially.  Support for other OSes can be added later.  I currently don't have a means to test the other environments. All of your other comments are addressed by the v3 patch.