From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
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: <xms:s3GkXmkvTuJsYYE9mC9e47BBgM4N3rBHiMxHPqnhBidnO7YZRi3bhA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrheeggdekkecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc
 fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs
 ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucffoh
 hmrghinhephhhurghrmhdrtghomhenucfkphepjeejrddufeegrddvtdefrddukeegnecu
 vehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrg
 hssehmohhnjhgrlhhonhdrnhgvth
X-ME-Proxy: <xmx:s3GkXnc4QzhzJAKKVIPs2cDtU8kgkq7JnhKHVgR0fIEc8iJQM-3xTg>
 <xmx:s3GkXkrs30oV7sF3BQUAPGiTLB7JuqlhscIb1oINxpzZ2RrFKnTJEg>
 <xmx:s3GkXt4fWEQ6hdo9qfSI80kXrWhmLPLvhWh1oMP8hSHy0-s0t3JSkQ>
 <xmx:s3GkXrE0IyPJwaSjTA2qbXWD1B7tiEa8zvYzKAEjv9zD00hV7vhO3A>
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 <thomas@monjalon.net>
To: Phil Yang <phil.yang@arm.com>,
 Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Cc: "rsanford@akamai.com" <rsanford@akamai.com>, "dev@dpdk.org" <dev@dpdk.org>,
 stable@dpdk.org, "david.marchand@redhat.com" <david.marchand@redhat.com>,
 "Burakov, Anatoly" <anatoly.burakov@intel.com>,
 "jerinj@marvell.com" <jerinj@marvell.com>,
 "hemant.agrawal@nxp.com" <hemant.agrawal@nxp.com>,
 "gavin.hu@arm.com" <gavin.hu@arm.com>, "nd@arm.com" <nd@arm.com>, "Carrillo,
 Erik G" <erik.g.carrillo@intel.com>
Date: Sat, 25 Apr 2020 19:21:53 +0200
Message-ID: <3054641.kGzlxMrEDr@thomas>
In-Reply-To: <BYAPR11MB341506424998C0DB2035E885B9ED0@BYAPR11MB3415.namprd11.prod.outlook.com>
References: <1582526539-14360-1-git-send-email-phil.yang@arm.com>
 <BYAPR11MB341506424998C0DB2035E885B9ED0@BYAPR11MB3415.namprd11.prod.outlook.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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

> > 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 <honnappa.nagarahalli@arm.com>
> > Reviewed-by: Gavin Hu <gavin.hu@arm.com>
> > Reviewed-by: Phil Yang <phil.yang@arm.com>
> Acked-by: Erik Gabriel Carrillo <erik.g.carrillo@intel.com>

Applied (without patch 2), thanks.