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 F307DA054D; Thu, 11 Feb 2021 17:23:56 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 66E781CC59B; Thu, 11 Feb 2021 17:23:56 +0100 (CET) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id BB7B21CC59A for ; Thu, 11 Feb 2021 17:23:55 +0100 (CET) Received: by mail-pf1-f169.google.com with SMTP id m6so3998868pfk.1 for ; Thu, 11 Feb 2021 08:23:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=L0UKqGSBX9xR0ZTGQaN7/4hX2cZ70HaYMZUb8cj4qKU=; b=p3/QYMzHDzhpi1GDF6qzfXxLWUApBbqIpQt8U4vVMzkRZyWQXElazarugz1YijR8mO ygpX7cxVICis86k5a685309xo9tyszGE7WSMQS0BC1hDViHRguTA+BzjPRo5pQhAJQhD u9b0yjY4uIrmiJjz85S7l0dYm629pPs+wlBo+1QudfLNIlmo3rAEVOyNT7860zFFe92T AsgHbQ/NReBIO8HtpGxg3Nj6yKhKfZg8s9PbflogCFVGs5RWVCnudLi5+Bra/U8qFYMb jEdXYrF25IWfSB+fwXstCJLJ4DpCFOt9KskfEL6xr3PQSl9rH3YuuIWCJ8H3QpHlSmvB F0Iw== 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=L0UKqGSBX9xR0ZTGQaN7/4hX2cZ70HaYMZUb8cj4qKU=; b=L3xzFwiRYKMbbhnebqM0yglJXg58yZ2YObw7mbhlRtpWXgu/bnXTSqtHsdv0Goo2Ka P41n0bnykrdx0t+QX11vcy1/iVujskH4q/Gfe585rRyOqJLxjLzhOqnSjIG7EKu/FE4W sIsp/KrE2liCPPfbp+9fzdNjLYbwK5JmFIgugNj6MJC+UxVApRimyGy3B38G4Wxqhvo5 OcspfumIi9hU2lbWTec138l7wLv/A3g6Dhmqh8CMWW3xI5nyq48QfFKsxPWE7uTGK1fV JGSYOWBbOYpP7TWX3vET3nn4ztb1kwHHbudWePrpLrHlw6P2Ojqfm+BcHyutFfupP+Bj +svw== X-Gm-Message-State: AOAM530VjNcKgPFO88X8y3DAdXvwd1axNZbmryq4TPb3NMASGkOrgv2O TT0+acrXIzgSvWLQayW1C12TjA== X-Google-Smtp-Source: ABdhPJz+Fsx33Bi9nXZ5o2lIhowIx4dT1ve7FK36c7mSq3mrlN2gKCOwoVOoBHISnU59HCzyTZRLVA== X-Received: by 2002:a63:5853:: with SMTP id i19mr8628623pgm.27.1613060634802; Thu, 11 Feb 2021 08:23:54 -0800 (PST) Received: from hermes.local (76-14-222-244.or.wavecable.com. [76.14.222.244]) by smtp.gmail.com with ESMTPSA id l190sm6141684pfl.205.2021.02.11.08.23.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 08:23:54 -0800 (PST) Date: Thu, 11 Feb 2021 08:23:45 -0800 From: Stephen Hemminger To: Anatoly Burakov Cc: dev@dpdk.org, Bruce Richardson , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam Message-ID: <20210211082345.03ad1cc4@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v4] eal: detach memsegs on cleanup 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" On Mon, 14 Sep 2020 14:04:05 +0100 Anatoly Burakov wrote: > Currently, we don't detach the shared memory on EAL cleanup, which > leaves the page table descriptors still holding on to the file > descriptors as well as memory space occupied by them. Fix it by adding > another detach stage that closes the internal memory allocator resource > references, detaches shared fbarrays and unmaps the shared mem config. > > Bugzilla ID: 380 > Bugzilla ID: 381 > > Signed-off-by: Anatoly Burakov Sure looks good. We should put more tests of cleanup in the test suite. Acked-by: Stephen Hemminger Sorry for the late response been stuck in internal project stuff.