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 C3CB5A0506; Sat, 30 Apr 2022 09:55:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6A4814069D; Sat, 30 Apr 2022 09:55:31 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 5EF884014F for ; Sat, 30 Apr 2022 09:55:30 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: RE: [RFC] eal: allow worker lcore stacks to be allocated from hugepage memory Date: Sat, 30 Apr 2022 09:55:24 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D87012@smartserver.smartshare.dk> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [RFC] eal: allow worker lcore stacks to be allocated from hugepage memory Thread-Index: Adhb+j4PNQBsFZSJSbW4/ctT87aTVwAaWqBQ References: <20220426122000.24743-1-donw@xsightlabs.com> <20220426075858.2c28f427@hermes.local> <53a03de6-fb78-986e-64f6-890b08321343@xsightlabs.com> <20220426142124.524069c5@hermes.local> <98CBD80474FA8B44BF855DF32C47DC35D87006@smartserver.smartshare.dk> From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Don Wallwork" , "Stephen Hemminger" , "Anatoly Burakov" , "Dmitry Kozlyuk" , "Bruce Richardson" Cc: 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 PiBGcm9tOiBEb24gV2FsbHdvcmsgW21haWx0bzpkb253QHhzaWdodG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