From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 0770737B7 for ; Thu, 9 May 2019 18:59:29 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6ED4822201; Thu, 9 May 2019 12:59:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 09 May 2019 12:59:28 -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=mesmtp; bh=f27D3ZG9r1vLecxwViVAcTLsuOK5AqyMtkWZCaFylJE=; b=meLxC+HqHolY SzRi47m5MSW584KNchbHPaD2PLgjgke9GJSW4/Dw4c336QOz5Bzu93IE1q9zKZ1l qNbBUENT+KClVk8ocY9eO/wYFA9MQrxTppVukHREezx63fEEJbcagnYNCV7W86Ll ZSMPBJeKk9MJBY7rXclEQMQrptIl5V4= 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=f27D3ZG9r1vLecxwViVAcTLsuOK5AqyMtkWZCaFyl JE=; b=aV70upWpQCiLuukILKoBi9lSnxr70nxR2lbQgvoGNOk1qpGzdZ+pSOqne 2WsW7Ye7NMM1kqk/s8B4wXDfbCOHgWEs76SM/hFoB/OEyz7nEr1OcW/LNjocooDG GxfX3NUmAIMCNeL1OzAyMYLQbnIk7WPn+oYs1ZSKYAANSUMWqjXvdT8h0FUNp2c5 A+eaeGnhFOh/ySgu6kFXINWq1LsHHfgyI+DgiCjLjZbqMvPCcIXNbdMucvd3jmr6 NlXDMqhdPp+kQZmRRe87AVhTfi8u9D3uyD+9+Q4iV0YZfayXOdGst031yyC6g0Nz Bro7Vk6Lyu5sEQk/TnM1sM8cCvQgw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrkeeigdegjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd 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 6734780063; Thu, 9 May 2019 12:59:27 -0400 (EDT) From: Thomas Monjalon To: Erik Gabriel Carrillo Cc: dev@dpdk.org, rsanford@akamai.com Date: Thu, 09 May 2019 18:59:26 +0200 Message-ID: <5303761.ZrBRV3Cpgi@xps> In-Reply-To: <1557176631-21416-1-git-send-email-erik.g.carrillo@intel.com> References: <1557176631-21416-1-git-send-email-erik.g.carrillo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] test: call timer subsystem finalize at 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: Thu, 09 May 2019 16:59:29 -0000 06/05/2019 23:03, Erik Gabriel Carrillo: > The eal_flags_autotest checks that no hugepage map files are left behind > after a process exits, which can only be the case if all allocations made > from DPDK heaps were freed back to the freelist, resulting in the > hugepage map files being unlinked automatically. Add a call to > rte_timer_subsystem_finalize() at application exit time to release > allocations now made by the timer library. > > Fixes: c0749f7096c7 ("timer: allow management in shared memory") > > Signed-off-by: Erik Gabriel Carrillo Applied, thanks From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 70A38A0096 for ; Thu, 9 May 2019 18:59:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0375A493D; Thu, 9 May 2019 18:59:30 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 0770737B7 for ; Thu, 9 May 2019 18:59:29 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6ED4822201; Thu, 9 May 2019 12:59:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 09 May 2019 12:59:28 -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=mesmtp; bh=f27D3ZG9r1vLecxwViVAcTLsuOK5AqyMtkWZCaFylJE=; b=meLxC+HqHolY SzRi47m5MSW584KNchbHPaD2PLgjgke9GJSW4/Dw4c336QOz5Bzu93IE1q9zKZ1l qNbBUENT+KClVk8ocY9eO/wYFA9MQrxTppVukHREezx63fEEJbcagnYNCV7W86Ll ZSMPBJeKk9MJBY7rXclEQMQrptIl5V4= 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=f27D3ZG9r1vLecxwViVAcTLsuOK5AqyMtkWZCaFyl JE=; b=aV70upWpQCiLuukILKoBi9lSnxr70nxR2lbQgvoGNOk1qpGzdZ+pSOqne 2WsW7Ye7NMM1kqk/s8B4wXDfbCOHgWEs76SM/hFoB/OEyz7nEr1OcW/LNjocooDG GxfX3NUmAIMCNeL1OzAyMYLQbnIk7WPn+oYs1ZSKYAANSUMWqjXvdT8h0FUNp2c5 A+eaeGnhFOh/ySgu6kFXINWq1LsHHfgyI+DgiCjLjZbqMvPCcIXNbdMucvd3jmr6 NlXDMqhdPp+kQZmRRe87AVhTfi8u9D3uyD+9+Q4iV0YZfayXOdGst031yyC6g0Nz Bro7Vk6Lyu5sEQk/TnM1sM8cCvQgw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrkeeigdegjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd 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 6734780063; Thu, 9 May 2019 12:59:27 -0400 (EDT) From: Thomas Monjalon To: Erik Gabriel Carrillo Cc: dev@dpdk.org, rsanford@akamai.com Date: Thu, 09 May 2019 18:59:26 +0200 Message-ID: <5303761.ZrBRV3Cpgi@xps> In-Reply-To: <1557176631-21416-1-git-send-email-erik.g.carrillo@intel.com> References: <1557176631-21416-1-git-send-email-erik.g.carrillo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] test: call timer subsystem finalize at 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190509165926.IyGlcvw1v0JSnFjJnZ2GXLmC5ch3B7P6q0HoQtIwsvc@z> 06/05/2019 23:03, Erik Gabriel Carrillo: > The eal_flags_autotest checks that no hugepage map files are left behind > after a process exits, which can only be the case if all allocations made > from DPDK heaps were freed back to the freelist, resulting in the > hugepage map files being unlinked automatically. Add a call to > rte_timer_subsystem_finalize() at application exit time to release > allocations now made by the timer library. > > Fixes: c0749f7096c7 ("timer: allow management in shared memory") > > Signed-off-by: Erik Gabriel Carrillo Applied, thanks