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 61E80A0C47; Fri, 16 Jul 2021 00:37:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D2FE24014D; Fri, 16 Jul 2021 00:37:26 +0200 (CEST) Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) by mails.dpdk.org (Postfix) with ESMTP id 7B1D140143 for ; Fri, 16 Jul 2021 00:37:25 +0200 (CEST) Received: by mail-lj1-f182.google.com with SMTP id h9so11262941ljm.5 for ; Thu, 15 Jul 2021 15:37:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yqeZLFgsFugmRWWbCCsQLuWEca3JQcAX+pHYxsrWB3s=; b=js2PnlSfn3khQUuvzf75DXnn8lRtcPJAuYjIS5ICU0fp0Q8gXwjiC6h5+D11IYVG8k zrzwuPmB8nOgVXL6jTo34gDJqEJTyMIq2DSeDxwmV8qQF+ScximxQVudoeEdBRK5PBqo jBeCtRhho1FbBE/35qWLDJrMBQ691F086xP4ZO9u8C88+8eSpoTN/04+U8Bpr77MeQ9z Yl9CeHehtbzk9sWB6QOgqVTw1XxwfJuKTm+aW7EDT0VRs5zkXw+Sk3Cmq616nY3zyiRR 3zVD2zqBLBuI0DBaBh95rhq2shvy0LYEFXaoPp6HQvFmNtluw3h6dQCrgjkqcODxUEpB fonQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yqeZLFgsFugmRWWbCCsQLuWEca3JQcAX+pHYxsrWB3s=; b=to+NX6g6mxSBWJjCn8O9QqUdTlPyxvRFkUOqiMlQoT52VRor2Zt7nuWaNRCp7q6gi8 vCUEZn/v0c7fiaR1uIPTLQZAXZQa2wMgYnpevm7hrZfio0Y1sMe6flNloBgYFeUFFqPO CpnEFX2mnukD/WRHgXgVKT8OI/QLNeuWyLhVGXume/V1iH0UwnSpranRtDh7VcDols3Y G0+BdrV+rowTxOySs39Ku7B1Srq0Ptn5EtTFlbd+8fJMwDxoVXOF6m0E3CBqUB83DbCV q8ElMh2JgxdLT/t3W0fDgroip7BUCvKK7pKpLXOXfpZ000q/Ig/bs1a2RX2hjJLCaZvI hsRQ== X-Gm-Message-State: AOAM530cUz5lPheva9Ydwcm2yPmvjljClXqJto+jVBjy69ZbjNV1gvj+ Z5blW6hAnx7fvB+MgbeO7Ho= X-Google-Smtp-Source: ABdhPJw/fgSKr4Id2+WW9HInhvnyER7OxBb10fclIEUk3istEUu1w5b7UwErpZr7nsxrYTKJFgdRPw== X-Received: by 2002:a2e:b5b5:: with SMTP id f21mr6157448ljn.479.1626388645020; Thu, 15 Jul 2021 15:37:25 -0700 (PDT) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id t12sm501291lfg.148.2021.07.15.15.37.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jul 2021 15:37:24 -0700 (PDT) Date: Fri, 16 Jul 2021 01:37:23 +0300 From: Dmitry Kozlyuk To: John Levon Cc: dev@dpdk.org, anatoly.burakov@intel.com Message-ID: <20210716013723.555744c4@sovereign> In-Reply-To: <20210708105958.526656-1-john.levon@nutanix.com> References: <20210707230605.58a79a47@sovereign> <20210708105958.526656-1-john.levon@nutanix.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v3] eal: allow hugetlbfs sub-directories 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 Sender: "dev" 2021-07-08 11:59 (UTC+0100), John Levon: > get_hugepage_dir() was implemented in such a way that a --huge-dir > option had to exactly match the mountpoint, but there's no reason for > this restriction. Fix the implementation to allow a sub-directory within > a suitable hugetlbfs mountpoint to be specified, preferring the closest > match. > > Signed-off-by: John Levon Acked-by: Dmitry Kozlyuk