From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C04F9A00C2; Sat, 25 Apr 2020 19:21:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 934E41C196; Sat, 25 Apr 2020 19:21:57 +0200 (CEST) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by dpdk.org (Postfix) with ESMTP id 4393F1BF8E; Sat, 25 Apr 2020 19:21:56 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id 8F1315800A9; Sat, 25 Apr 2020 13:21:55 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Sat, 25 Apr 2020 13:21:55 -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=fm1; bh= VIqHXwzOpsoil36jbUbpSB+EGkuS7rbGrsYcMGQw2vY=; b=FXgqpnOkPFXU/Ouy FFaBZ0tDydNFKEXcxQkDCLt4+oqyqXvDh7i1NLUU5skarrTbID8LfBjD2mbJuOBG 4IMMZ2v/uZJndvFAnQW0GBCcMJ8TuJ3OM8ZOLZzhMX+6BhkkFlqJgGsMU8I8SZ4q q9H+GSZEzSuIx7YHPGlLZHqVjjI1WUp++K8MrSAn5aF159HkpzIVbf2fmryXLGDV kjzcC7bDADkjt7n5pPnHLgI0wnvwFjsiSiGbgzES94TV/k3QF8BHfvyW9zfyw7Pj aUJ93VudqCiCFN5D80O/YlJOjQYVdYwvTozm2bDOI7EnBYW+Gkru/xqLXcXjUEqy j03Luw== 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=VIqHXwzOpsoil36jbUbpSB+EGkuS7rbGrsYcMGQw2 vY=; b=Idj6KhD2T3SNxOx6e4N0hSWVFpiY3SzHbWbsPoUsbHO3BPQblyM0RH9du 2aVe0FhT2pD3kLb0uRNqojVHjiAPbs3oRVmgtxjiSDX2kVzGVuh2fFV6oZFqdXIN Pu1OQYkbht9Cwfl+mZpJfRob7OgEcghrUx0m2V/tXZRKbPJjr34CZ7qv4w+giC7E ht9kiVfgf59u/istUZA04kXKj2le2Cce7CJo8TjB6sLouG5hbFgCSkktMdmId1iy 7gmJwJgsZuFkRXtI1544xejgZETrthb9Fb/aSsWxX8lhoOLTjWQ8Yh1eJ/Z/w68+ Y5RbK0k/UKrbGVU98MBEzSdcSSv4Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrheeggdekkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucffoh hmrghinhephhhurghrmhdrtghomhenucfkphepjeejrddufeegrddvtdefrddukeegnecu vehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrg hssehmohhnjhgrlhhonhdrnhgvth 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 02CD2328005E; Sat, 25 Apr 2020 13:21:53 -0400 (EDT) From: Thomas Monjalon To: Phil Yang , Honnappa Nagarahalli Cc: "rsanford@akamai.com" , "dev@dpdk.org" , stable@dpdk.org, "david.marchand@redhat.com" , "Burakov, Anatoly" , "jerinj@marvell.com" , "hemant.agrawal@nxp.com" , "gavin.hu@arm.com" , "nd@arm.com" , "Carrillo, Erik G" Date: Sat, 25 Apr 2020 19:21:53 +0200 Message-ID: <3054641.kGzlxMrEDr@thomas> In-Reply-To: References: <1582526539-14360-1-git-send-email-phil.yang@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH 1/2] lib/timer: protect timer subsystem initialized with lock 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" > > rte_timer_subsystem_initialized is a global variable that can be accessed by > > multiple processes simultaneously. Hence, any access to > > rte_timer_subsystem_initialized should be protected by > > rte_mcfg_timer_lock. > > > > Fixes: f9d6cd8bfe9e ("timer: fix resource leak in finalize") > > Cc: stable@dpdk.org > > > > Signed-off-by: Honnappa Nagarahalli > > Reviewed-by: Gavin Hu > > Reviewed-by: Phil Yang > Acked-by: Erik Gabriel Carrillo Applied (without patch 2), thanks.