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 D1D5BA0352; Tue, 8 Feb 2022 17:39:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6547A4111B; Tue, 8 Feb 2022 17:39:59 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 3A296410FD for ; Tue, 8 Feb 2022 17:39:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644338398; x=1675874398; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=M7rkgj5F4uxxMs7T+nvoWgCTsJfZ/rRTHfiQlvAh1F4=; b=LnB6JtUpkajFhjk+kNc5PSt7/O1fAcmMNY8RKPJ6pca5A/bsG/rAtqb6 vDmE67Eh+mC3aMTrRz1Vd9JUoTt9UV4+IG+YHVHANUmb1B+4JcVZtCoxo dCfdB9yPNsdYhqkb4qhZQlDQy41u37eeLThw8cYCmkTx6eQ8hBLfj0g9H cK1z84jYH3zMUTyxrpCTwMOOFcBMYDWmB8Rcps2nvJ9kxDVt2BuMtawJi heTmhO6neunUMcDMdYUlNRy5vrWnZkcZy9cSZgjo9LIHDbe+ZWL79+iaU zJAZlRJTsphDBdkkW0wnut5+XWO/Uq5Dc74YUqEJtrOI+lG/vGeqYqPYJ Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10252"; a="309735797" X-IronPort-AV: E=Sophos;i="5.88,353,1635231600"; d="scan'208";a="309735797" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2022 08:39:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,353,1635231600"; d="scan'208";a="536619229" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga007.fm.intel.com with ESMTP; 08 Feb 2022 08:39:57 -0800 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx601.amr.corp.intel.com (10.18.126.81) 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 08:39:56 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx608.amr.corp.intel.com (10.18.126.88) 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 08:39:56 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.170) by edgegateway.intel.com (192.55.55.71) 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 08:39:56 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P+Spge8PCZe6v/AMM7Mrx5VTA2OmrITQFYfO/GyYqm/bI6kwwsn85D3GrvmnYW5Fy5lIyi5hXSu7u2SC/5dUSudpbgDDVLKlB8xOoiehkNTLg/+407RBwEJfwzDTAgTa1p808rs+U4f5nN8Yb8+yMX1w5CQYXko1DzlasXr66bVBoWqvxa61AesxQJc//VToBdkhDYcxuhTSlDLH5TL8xsQ0mBLyPu7B+K8A2pKL/Xe5DSBvOSw3ltG9j+AemzApqoOWgRuCd2Ad7KGQ3Lfo9MeO7m/CGRXJFr7bmI/OOJmQ0OdDc48H5qWNCsZie9I5zzH/vFufeUr718UOLmkRTQ== 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=mFulbvO9ljDl3JDajIk3gjhOHr5CVSe8giKdITfUjwo=; b=BpF3Sfr+4AEjbQFq+Lu1dX6cX7hqC8mAr+jQg4VCApqiN80yKqqHDLYc0DkO03/I9eCCxIRBj7FqvhuEL8cqjrxzXzwOgRRhPyXXBumxi+w2wIjj+PKNv1PjSZlXk3QwUEs/EA85zoPtPBuVC/xX84Oaa7fiHaMGD/5c2ui4VXyywxyQ/qYAZWDX+0U/xxyzHZApbHChrPVnLKBsO8cWramt+FTy2mwq3S0NUyoYf9Bq/0mGpSKwEBKHmEzPvq+ZLnJ3mSbnKW+TUrcLVBEfQSvZKMP9pl/+U0aN0as+3WfMBdFdOOWGKyEA4/JLR8MJpug4Gnr86kSKi3NP8b2Jvw== 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 MN2PR11MB4206.namprd11.prod.outlook.com (2603:10b6:208:188::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.14; Tue, 8 Feb 2022 16:39:55 +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 16:39:55 +0000 Message-ID: <6c52d36a-c067-a752-ba13-5aed1b7d359f@intel.com> Date: Tue, 8 Feb 2022 16:39:49 +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 4/6] eal: refactor --huge-unlink storage 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-5-dkozlyuk@nvidia.com> From: "Burakov, Anatoly" In-Reply-To: <20220203181337.759161-5-dkozlyuk@nvidia.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0289.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a5::13) 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: 52586108-dbe6-43fb-f67d-08d9eb21a2c2 X-MS-TrafficTypeDiagnostic: MN2PR11MB4206:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2TCNCXS5PWg6uMhGtgnkBo7hgn7rCgRDnFxNQOb/Qglk5WezGKj/yGF2AvAd1a8Ieh0VokdSqimhf3UvbBXmP+5AcJ2sdeuzFdfwPxQLpMsyAiJQJylqfp4P0d10hFvSGc56GzQGv5O1gsena3UgoPPEkt/2eBImDrhchamplLv4Hox/vaazVESWJRD/nsyU7GnbBoegOvAQCsR63R7W47nmzHit1kNVyWkB6PZmoYssnjAV2h7UMTN2Ks59M/XWRB6gVl9thROxEFAUtrHit02B/UZG2psn9RMuDdxxznBX4emb5KusI+rral7oXyhOHL3M0555eP37a1hYrSdANJ4Fnd4LhmFmKSUNgdJaZZlJ2VYxULJhgZ/Dw30sMFt9IEAc9dy3nMYEtpP4Sj6Q7dhswDc5/SPBgY4W/dYwKB8jL2Pspi5tVHAcqKwbrddLgo0B5Iw6biskI6GkgiUhsCUCNpM2rY5bXYJrd9AMEwFIljs4UBBdWX9HIQZ4a+mPbkAybG3h6YrF9Cw3duaNY1d+AyEHnid+vNU/YNKjT6B02DufB0/fhprAOqJP/i4z8LAt9RByx0wmkS1WplryJfdwJ1RhE1D6wXyJPeoNACWt/jklH3u0HUxGgeR/a/Q9jJdLmI+pUOplNy6UqA/BoQNFBvz8o3Du/6UcQVFqvlnoPLFjW83rUduk+7gr6yTugvaZDmdyBDCwIaBQr+u3jUH/zONFzukNph5V5GSQPI3WcnGtRsXrCQpaSMuHZ39N 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)(31696002)(86362001)(6486002)(66556008)(6666004)(8936002)(6512007)(26005)(186003)(82960400001)(508600001)(31686004)(5660300002)(36756003)(2906002)(316002)(2616005)(4744005)(66946007)(6506007)(38100700002)(66476007)(8676002)(4326008)(53546011)(14583001)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TlVPZm9mVE9SMEFmSHVyajNDQW40eUJwQnZiZkpKNm53SFJ5aDJ4NGZOQkN4?= =?utf-8?B?R3ZQU3d4bGlnQmdTbmJYTVFrdVlNV1pvUVdOMG4rTFZST3dqbFE3OVlSbXRy?= =?utf-8?B?VjA0TlJQTEUyRm1KaFdEbWlaNG8rMXlvenNIb1c1K05jYnIzUVp5cUJERlNN?= =?utf-8?B?RXNvMkk0a2YybHpONnJHejNpRWhjRzl3a0trdDdCZEI0bEhPanM4UFZFbUtW?= =?utf-8?B?Y2c4ZGMydTdkYmNMZVo0WmhQN3N5V0p6UFNQeUJYQ2J0ZmF3NVVxNytYM3JI?= =?utf-8?B?bXA5YS9RVzhjRmppRVM3bTF3V0JUeEdPT0QzcW1acVVJWHM1NU9MdHByZS9j?= =?utf-8?B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5NSs5UTY5OEEzdm5kaXNVRHBWQUtjRFhr?= =?utf-8?B?R2UvNmY4VEtib2gwQ1cyb2FmVUhrZTBveGplWDdhNW1qb3lZTjAyM3RId0w2?= =?utf-8?B?SHJnV0haRUc1eUhmUjBaZ3dVN3p3PT0=?= X-MS-Exchange-CrossTenant-Network-Message-Id: 52586108-dbe6-43fb-f67d-08d9eb21a2c2 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5093.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2022 16:39:54.8969 (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: jtvqwm+pNNu0DUoNftaAoJYMJ5amaj4uvuN0RuA/bsRUOxcS1m3EsBOD+pi+qX2gdNXozBq2aXIYqxHLLK5ouf9r7DjizsU9c8IlnMkKxpM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4206 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: > In preparation to extend --huge-unlink option semantics > refactor how it is stored in the internal configuration. > It makes future changes more isolated. > > Signed-off-by: Dmitry Kozlyuk > Acked-by: Thomas Monjalon > --- I would question the need to keep the huge-unlink option at all (as well as its distant cousin, `--noshconf`), because it's functionally equivalent to memfd. However, that's not really the purposes of this patch, so that's besides the point :) Acked-by: Anatoly Burakov -- Thanks, Anatoly