From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by dpdk.org (Postfix) with ESMTP id D23BD5F57 for ; Fri, 13 Jul 2018 11:18:39 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 785962EC; Fri, 13 Jul 2018 05:18:38 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 13 Jul 2018 05:18:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=6wdrqPTYGtDGZRjoHtq6yKxQj4 Hy9LlQ33p823eZDlk=; b=SLkL30Zx2bMfZ5VpTQZlhG5AOHalQil4XNU5ap0df9 YqTURNp/S+mgI+RX8VQvDZ5O/zlgElRkpAxD/UdcCtIqt/BMDYElucCDNsWehSXe 1D0f+GPGmRRcsc+IFEbpORpkxPDgEUJM7SU4uUaXnwF/lUp2edgA5D+kEgFCchZZ 4= 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-sender:x-me-sender:x-sasl-enc; s=fm3; bh=6wdrqP TYGtDGZRjoHtq6yKxQj4Hy9LlQ33p823eZDlk=; b=BOdjLu1sNvO+a/bjovBQs1 9srlLQ/zios6zjdrn/Cp844NQg7HZYZH0zwBE4vfci8TmfgU+b3Tsea63+NWYus1 TPuGY1IzEO4HD/FcjWAtUbRPMIy7QO2P0M0zqJXb86aPwCJeEOqF8sWYFZHcYDqb 9uSUxB+GfH67FUrDx5DYD8qZrDqy9YqFZqhchRtbW8X2UO/xL+mGNtDBZUSJiRHT Qg1hj9p0Wp90LNke13ocnUDsepKvKSsKypGdk1pwmcCUS7TOI5I8L/E/q4vY9bqs 5SO1tk7Rzb0pO9jjG6ImHRt8YAsFnwbkK+ggiRVK/hiAVgVEoJeHjz6aGKZJVb4Q == X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 3E50510269; Fri, 13 Jul 2018 05:18:37 -0400 (EDT) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org Date: Fri, 13 Jul 2018 11:18:35 +0200 Message-ID: <2641247.6ldZ4oOnvO@xps> In-Reply-To: <75e29ea61b1102ea218118d7473ca0ab2e53a0c2.1527782487.git.anatoly.burakov@intel.com> References: <75e29ea61b1102ea218118d7473ca0ab2e53a0c2.1527782487.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] mem: mark pages as freeable on exit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2018 09:18:40 -0000 31/05/2018 18:11, Anatoly Burakov: > When rte_eal_cleanup() is called, it is expected that DPDK will be able to > release all of its memory back to the system. However, if pages are marked > as unfreeable, the pages will not be released back. Fix this to mark all > pages as freeable on calling rte_eal_cleanup(), but only do it for primary > process, as secondaries can come and go. > > Signed-off-by: Anatoly Burakov Applied, thanks