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 AD165A0A02; Wed, 24 Mar 2021 22:31:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 93C094067B; Wed, 24 Mar 2021 22:31:03 +0100 (CET) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id D11624014F for ; Wed, 24 Mar 2021 22:31:02 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 78B9D5C00ED; Wed, 24 Mar 2021 17:31:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 24 Mar 2021 17:31:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm3; bh= Pug/tEKjzjV/ZuVyLb+i4wfQzya+6hFCcy60W1C4D3M=; b=w5iFAK1xTwVpeNRp KDG41eJgqcWnb3e+6YNW5Dy0MBjNPd+b+omK4uasrtWQFU2dxzlC9kHUlHWV+hXV 42U+n36ZHE4ptRnnqs6vaea+ZNHzfRLpC32uRhTIy4hhk3RcTwkJHhzPeg77wfJK QfiXdUvf9cj/JNx8osORSocxz38pi05kSNP0KAjcRlRkmwu2QdyzAFWY4zZRC0RG j6fxiBhYEo0wV8TOlh/rNJ+b8ST8gBA1LRMu4gcE4bJfBnllegI+U5y3FDkuNGPo 6p/OM5i16d0zjYLI0+1w71rJDRXgHtfQGgHvQHd2GcfQyH0dupmnS2V1jJPXXChm 5Qd5ZA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=Pug/tEKjzjV/ZuVyLb+i4wfQzya+6hFCcy60W1C4D 3M=; b=DirzxEvQVTb+jkjXyv8mY2n9cSHdAFvBpwfDgCkF4PqPuXTF4AhnMq1nN xOK8qzXf2+MPriKw9+jcjI50x+gdZ+Xj1VvB37bfdLzGcbJBHbfsNYzk3ZG4BrkS o/oyGVc9j0HLXYBUoHTG+2hJGsfw5P2z93gb6e+ltE7Li8HmR2ShMcs1RRbgCaDp oqQc5BMhVAJ7iqVp2HxemWDctUiMj1eFs4NGivmGlzRK5WSTilO71BvUNNx5At0H lvWuuG0439W4cRQC8VXnF1O+MWyEPRpqxdku3hy5X5EZM7Lh9U4/Qyw8eQfneZAC /ayxYU4QxiiIBxfUB5IhPGENbourg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudegkedgudehtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpeelfefhveevvefhheeuvdegheeijeeiveelhfehgfeujeeufeet jeefteehhefggfenucffohhmrghinhepshhhrdgsuhhilhgunecukfhppeejjedrudefge drvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 98F45108005C; Wed, 24 Mar 2021 17:31:00 -0400 (EDT) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org, David Marchand , ferruh.yigit@intel.com, bruce.richardson@intel.com, andrew.rybchenko@oktetlabs.ru Date: Wed, 24 Mar 2021 22:30:59 +0100 Message-ID: <5241626.AnDb8JvsJK@thomas> In-Reply-To: <1961022.f6Zm6js99J@thomas> References: <20200104013341.19809-1-stephen@networkplumber.org> <1961022.f6Zm6js99J@thomas> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 0/8] eal: cleanup resources on shutdown 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" Ping 20/10/2020 00:24, Thomas Monjalon: > That's a pity this patchset is not concluded. > Please Stephen, could you respin with a fix? > > > 03/05/2020 19:21, David Marchand: > > On Wed, Apr 29, 2020 at 1:58 AM Stephen Hemminger > > wrote: > > > > > > Started using valgrind with DPDK, and there are lots of leftover > > > memory and file descriptors. This makes it hard to find application > > > leaks versus DPDK leaks. > > > > > > The DPDK has a function that applications can use to tell it > > > to cleanup resources on shutdown (rte_eal_cleanup). But the > > > current coverage of that API is spotty. Many internal parts of > > > DPDK leave files and allocated memory behind. > > > > > > This patch set is a first step at getting the sub-parts of > > > DPDK to cleanup after themselves. These are the easier ones, > > > the harder and more critical ones are in the drivers > > > and the memory subsystem. > > > > > > There are no new exposed API or ABI changes here. > > > > > > v3 > > > - fix a couple of minor checkpatch complaints > > > > > > v2 > > > - rebase after 20.05 file renames > > > - incorporate review comment feedback > > > - hold off some of the more involved patches for later > > > > Same segfault as v1. > > > > $ ./devtools/test-null.sh ./build/app/dpdk-testpmd 0x3 --plop > > ./build/app/dpdk-testpmd: unrecognized option '--plop' > > EAL: Detected 8 lcore(s) > > EAL: Detected 1 NUMA nodes > > > > Usage: ./build/app/dpdk-testpmd [options] > > > > (snip) > > > > EAL: FATAL: Invalid 'command line' arguments. > > EAL: Invalid 'command line' arguments. > > EAL: Error - exiting with code: 1 > > Cause: Cannot init EAL: Invalid argument > > ./devtools/test-null.sh: line 32: 23134 Broken pipe ( > > sleep 1 && echo stop ) > > 23135 Segmentation fault (core dumped) | $testpmd -c > > $coremask --no-huge -m 20 $libs -w 0:0.0 --vdev net_null1 --vdev > > net_null2 $eal_options -- --no-mlockall --total-num-mbufs=2048 > > $testpmd_options -ia > > > > > > > > > > > >