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 41B6DA055D; Wed, 3 Mar 2021 10:04:58 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2EA081606EE; Wed, 3 Mar 2021 10:04:58 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mails.dpdk.org (Postfix) with ESMTP id 89DAC40684 for ; Wed, 3 Mar 2021 10:04:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614762296; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5QdNoe6NO719Os/1I3TZM8+6DmQhlTTGLNMuXgyClMU=; b=e373rM3+tybgE+bOpgORWZal2l0r/xYyqdXWt8icpUqp9ELB/x8Q3vezZzMqbXIdSD3zjE s304og/j4zfqjXAm6QxbYITRHdcH0gqYAjMbJ6TZqNcToURAq8tqcmsPCGAxjGzdkbgmPf N+dQxbCe3GG00ZGHJDRS53+2VkXglWM= Received: from mail-vs1-f71.google.com (mail-vs1-f71.google.com [209.85.217.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-300-1LYwPmW0OiScM3BhzHQAfg-1; Wed, 03 Mar 2021 04:04:44 -0500 X-MC-Unique: 1LYwPmW0OiScM3BhzHQAfg-1 Received: by mail-vs1-f71.google.com with SMTP id o129so3917243vsd.6 for ; Wed, 03 Mar 2021 01:04:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5QdNoe6NO719Os/1I3TZM8+6DmQhlTTGLNMuXgyClMU=; b=UxXxpmeoi4HBfn/A/dzA1NCwJ7WzKMB+GxjF5Skw2KBT2nV/Fzyu2JKQIMt2MDWUDM 0ebRu0gbq2J0L3IFQOXet4vslkG4eFUdg3QeYEikiDf90DnTitCLvvJyxpxCclSWip7y cAj0aMaum1NlOhCX1u93FCJFt/7wzf9jS1/HE+55zYuKROZC5yX4k5Eaxwtk9pCR4ZHo U73311xqhbAUmdlYewniJJNByRJUISAXC6qIURFUE48l+vjQymEJb8bq92nnw3Inztv9 5Y/meaYT9OwRXfxXjcd3UY4M+MDSrjxUsh3ThD74wxygxkqDszVvBqnx4d/wvwdTx9a/ YbUw== X-Gm-Message-State: AOAM530siwYAuZQJSjXxcC6snYal8I1oWaMtMHUlDgh9LFXp9qWMezzW SI6USUvqIPsHSvQKO7u5amp8wI/Q7An1rgGeaase0aHCM1REGL0YQxCTqkVCs1ICoJy6g/K5Eki wV3mhjsKcvlGSNTrIyT0= X-Received: by 2002:a67:8ec7:: with SMTP id q190mr15616087vsd.10.1614762283799; Wed, 03 Mar 2021 01:04:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJymZ44XDCCiK4/fJjd0/Co04UHZkVQYuGG9Ydd1oPK4G87wqlHLl/TYJdDBKqcfLgMNceTL+q9NUlliVK2DppA= X-Received: by 2002:a67:8ec7:: with SMTP id q190mr15616076vsd.10.1614762283605; Wed, 03 Mar 2021 01:04:43 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Wed, 3 Mar 2021 10:04:32 +0100 Message-ID: To: Anatoly Burakov Cc: dev , Bruce Richardson , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam , Stephen Hemminger Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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, Sep 14, 2020 at 3:06 PM 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 Acked-by: Stephen Hemminger Applied, thanks. -- David Marchand