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 7C801A0352; Tue, 8 Feb 2022 18:14:57 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4126941141; Tue, 8 Feb 2022 18:14:57 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 141D74111B for ; Tue, 8 Feb 2022 18:14:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644340495; x=1675876495; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=DTcw4vlsJhbqOSIwP2LxE7TaErsZZNy1IqiRuvAGJMQ=; b=bzpun5qluf/8VvX3dJppAjVRYrWv/i7MPYcLoB8IboqmWKdjvAEaZ44B 3Je4p/T2vy5WxGdeA8+zIY1O3jQmMCJmO14oAT8zyAV81pTHB0JZ+Ws0V TNBb+tl/ToRy4Cn11N4vDumiNLDC9TNZJf4InFnX9IispjLymF06NZq45 OucE6boK6Vymj6VFSTH/PzfUMmdT6JgHEenu7W5QrNMTPxqdv6PK4KOmx GC8V2B6uXwMZFx8BJQ6IuN7PnOUBTk+uNBAEzNjsYHtO4c4DJOsgt1sBd sJbofSDsn8H7Pjx3Z/F0NgVAoWlGxfwrgtypMn0x3C1aaZUbxvg03R1K9 w==; X-IronPort-AV: E=McAfee;i="6200,9189,10252"; a="246588132" X-IronPort-AV: E=Sophos;i="5.88,353,1635231600"; d="scan'208";a="246588132" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2022 09:14:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,353,1635231600"; d="scan'208";a="540691548" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga008.jf.intel.com with ESMTP; 08 Feb 2022 09:14:53 -0800 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 8 Feb 2022 09:14:53 -0800 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 8 Feb 2022 09:14:52 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Tue, 8 Feb 2022 09:14:52 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.170) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Tue, 8 Feb 2022 09:14:51 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VdDqj6fE22EbWN7PvIsVZ6q/uwMbRmmZwKcw7k1eThKnu5zvJnSCgGrgjgTLGK8a7YiTcQVQmQlFuVqW75PjWy+q/hPmrzCC6SCTj6KIeEKiDbB6b21jiEeGwQK5eSLbIdhwVIDUYxeY3v56Y1/l073z5TwVfJiAEMmFx5YEpFJSKSoIlj4/j6Pw+5FK1f9rr12rhZ97xqvaoKQY29/NU2zZoXnY5WyKHkjGMp/RFaSn49m1RLcy89cBorABQJRuKeMcgRnbyjBwwiECU4wCCxHisoaOTofA1WwQMxhzTN80UKxBcgYGQi9Np99naSwcU6uietrZlFpdQ3rWRq5VrA== 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=sRbyOvUwY+RerENcveEyHf30oyPeLcjj9fQ5g7OJVBo=; b=Mb7qDorUiuxYMlXs9/nBRP+081hlzKxzjad/D/vYJHiX9tLGFzfSM+X1pwnBhsicq99qetWIP4GuAygwh9tkbVySQqQqliDRPODdIWyF3Bi6Ry564Q9N3dO7oY6Us+W+McqZTVfpD5wRCacV/CDk7ocaWnfJTS1vWj/b75h8RF9b0lYel68v073MzraVwpVt/WiKuFq6rIjScwK+sZwcYfJOIF2HUgMwepwL9R52laWPh/zMsNHWaOYgcJt/l20G7Ig6bkywY++sESva/0lOH/FZ2lu44vDxBI7H6gkR+4ziJsXuu+xT7N51hGdJOoN2B84ZGuSEfbRAjGbre4aM2g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5093.namprd11.prod.outlook.com (2603:10b6:510:3e::23) by CH0PR11MB5362.namprd11.prod.outlook.com (2603:10b6:610:b9::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12; Tue, 8 Feb 2022 17:14:50 +0000 Received: from PH0PR11MB5093.namprd11.prod.outlook.com ([fe80::ad52:b9b6:8147:b4d5]) by PH0PR11MB5093.namprd11.prod.outlook.com ([fe80::ad52:b9b6:8147:b4d5%4]) with mapi id 15.20.4951.019; Tue, 8 Feb 2022 17:14:50 +0000 Message-ID: <23a6b9ba-cdb5-048b-cc14-a7f548d9312f@intel.com> Date: Tue, 8 Feb 2022 17:14:45 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.5.1 Subject: Re: [PATCH v3 6/6] eal: extend --huge-unlink for hugepage file reuse Content-Language: en-US To: Dmitry Kozlyuk , CC: Thomas Monjalon References: <20220119210917.765505-1-dkozlyuk@nvidia.com> <20220203181337.759161-1-dkozlyuk@nvidia.com> <20220203181337.759161-7-dkozlyuk@nvidia.com> From: "Burakov, Anatoly" In-Reply-To: <20220203181337.759161-7-dkozlyuk@nvidia.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0002.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:150::7) To PH0PR11MB5093.namprd11.prod.outlook.com (2603:10b6:510:3e::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a3b2ba8e-5f85-49f1-45e4-08d9eb2683b0 X-MS-TrafficTypeDiagnostic: CH0PR11MB5362:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5516; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wF95vS+uPvtFryt99vGnFtycxcxVN78X1ddTSYeW6Fo7/jQDtD/hc6dMMEF68MT5+XkQsVq6CKyWm82o/+rNj/Ehrw/oD5TmCJ9QepUCppCwCIDLMChpTl4D9GF4OP47L03OYmNHX2S7ib8NxPltiYmZBLBOL5SsF2FAznbMufYqFWTO2AuyikpPEXDryijO54LMbSE1jJIzEKawqO4xEoKj7IuTCjMZ9JSGWMcH4YWw+GJ8rltFY7htSOv+HX77xj9RBtI9c5SjQsiRVROyI6DuijlFyktnFfTD4Zk7aguGYVsro7yZZUXj2V69OU/6lc56ClAlPQ/R578TpTEHCLxzPEs8SQM5Wop2DnSJSIYI4kepzgKByksoSYV+4s9p8L1LvbrXdVmjXqqJPxz5Xlg959Aqx8de3DmDPaySFOrqkWpJH2L73MQqmh4QMQONaV7zLZTYJdV7jvosyBkNjGHLjRayLndSBy2NW4sgZz3RnGv50Wju5pSNbwNg0FLAjtrXsEENKMeyTWkuXEDhO08qngegPNX/tctu5npJV06BpZ9IRZuMoedSewTgKBD+Lq0smwe6Ce8Slf6O+GeEU75B9FSaUeJLanXs2Ox2iqLnPll95RgJQdTBjISSimIFCQf6iQdXfefyAwZYuCNI8sQeu+lm/VkwtraUDETqFcdhMAnz/x6n1T0A9xC1uFZ6RxCf4LbkKmj93jmGNWxz9z4XoAEQ1BTTskKMflUVaCZbcPn1izzWYGrZBmo0p6FV X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5093.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(6486002)(86362001)(38100700002)(186003)(31696002)(26005)(2616005)(6506007)(6512007)(508600001)(316002)(6666004)(31686004)(53546011)(36756003)(8936002)(66946007)(66556008)(5660300002)(4326008)(8676002)(2906002)(66476007)(4744005)(82960400001)(14583001)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TWs1KzNQM3ZNRmJMdkR1NHMyeEhycFRwNTdEbEIyeEZEbXBBZHpVRE5aM3dF?= =?utf-8?B?UjdaZG9ueGErcjBvKy9jVklMOVQyOUFwM3pvbTNLM3o0U2xtSWFrVXY1UEU1?= =?utf-8?B?U3BvUm5VZ2lQTEQzUzZQT3QxSy93aVJrTTJwYkttalBKeEZMWkVKaXZvZVlU?= =?utf-8?B?UFFGTDU1WngyNDRjQnowT2JKSmxsMnFlQy9SU0Y4Y1MzblVEdk05cXdWNVYx?= =?utf-8?B?ZThBY3k4VjNnL05SZnJCQV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B?UkwvOXhMK2s5cTMwNWdjVVdOR1JIVEdOUGlkVkJkL3ducUNKSzVMQ3pNL3dn?= =?utf-8?B?QkZOTFpPcFRESnFpMGJvc1M3NXRFZ09jNGpSK3ZwV3c5bFg2YnJPSjRNZ1Jq?= =?utf-8?B?REIwYzRFbzJjaCtJQWxXcnU3eTlORmZadTFSNDRKVXZvTDBYc2cwSnNQN3Fp?= =?utf-8?B?U0VnWGRBMGg1cldKbzhUazM2TUtnPT0=?= X-MS-Exchange-CrossTenant-Network-Message-Id: a3b2ba8e-5f85-49f1-45e4-08d9eb2683b0 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5093.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2022 17:14:50.2943 (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: /cLzMSneOaY8VN97O2EBxLcGsUBTBZczaTLfTxsgkXUeQInLJyCckHQ+gRBK6MxDd1hxO5ghR5c34yEsiDnJbV8fyocH+SOro0N6FV/9UQo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5362 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 03-Feb-22 6:13 PM, Dmitry Kozlyuk wrote: > Expose Linux EAL ability to reuse existing hugepage files > via --huge-unlink=never switch. > Default behavior is unchanged, it can also be specified > using --huge-unlink=existing for consistency. > Old --huge-unlink switch is kept, > it is an alias for --huge-unlink=always. > Add a test case for the --huge-unlink=never mode. > > Signed-off-by: Dmitry Kozlyuk > Acked-by: Thomas Monjalon > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly