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 EB72F41CE4; Sun, 19 Feb 2023 23:27:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8997842D5C; Sun, 19 Feb 2023 23:27:18 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 649D940698 for ; Sun, 19 Feb 2023 23:27:17 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id E68895C0099; Sun, 19 Feb 2023 17:27:16 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 19 Feb 2023 17:27:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1676845636; x= 1676932036; bh=A4vVaxw83YyCXg8N5bgrgcntL/TwMkLayrGxXubPn7k=; b=E BgNqcKxra7vK0lKMt7OkYWrt46YdHJH1uTE4DwHshhczK+HgMLll6LOeH6CuG0oc gYZmvGeR4IdQuwmHhq7eK2UlTgkRjAeFOYHlyk+SF7GxOzgmYerIhHK47QV4n3vg R2Rf9s+swXST6akAgUZXHMYe/CR9b7Juf36OWEqnGSzJ4mL7Vz1ToaO2vQ41v2eC +LLwAP0B3bFpKNHfX8n7t3ox1pfpnRBi8ybFWZk4GpPHOle1odlRmOLZo0l8luQ8 5UKYZ8htI3q9+QWHlIwO0Qhac/Adsa5WoVdqyNV39rWWSfbumzU3dNdFCi2WZR2T +79+4lio/wQTvexod7smg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1676845636; x= 1676932036; bh=A4vVaxw83YyCXg8N5bgrgcntL/TwMkLayrGxXubPn7k=; b=g wH2iWHPXlGAihlb/NHmU7mAygDQBWt2SWzZ83Wt2iRgPqTVpZd28cggBb/vQlLz9 KNW9160F2+Ah5a6+xtd2cbb7T5B08xGzXJbPp2h0Se6uVoH0G8bUl8thMCKC1Fwe GzE/a6cVEdEWO9D4PKUvNUtDVoG2fuiyLL1J5xAUQEJMQT+Idl862j78rC3ubzR+ OMNxiZL5z8BzSGA//It6/mdAJuIWmw+yiCPQzIQhyEfRa+yHEbPA9JAmDi2Iwgan It75DQcVKfm5JvZcBLlRI0Sr9mLwrOV1cYgozhaY2cQc0uQqCPrJZQ8TvE8ms1XA aQwZbrEcKaxnEAPihBQhg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudejfedgudeivdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhho mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne cuggftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddt ieekgfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 19 Feb 2023 17:27:14 -0500 (EST) From: Thomas Monjalon To: fengchengwen Cc: ferruh.yigit@amd.com, andrew.rybchenko@oktetlabs.ru, dev@dpdk.org, "Burakov, Anatoly" , Bruce Richardson Subject: Re: [PATCH] eal/bsd: fix spinlock not unlock in alarm callback Date: Sun, 19 Feb 2023 23:27:13 +0100 Message-ID: <3001647.xgJ6IN8ObU@thomas> In-Reply-To: References: <20230213124452.46536-1-fengchengwen@huawei.com> <506fd32a-1d88-63fd-9fcb-c96a5b1b10b9@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 16/02/2023 10:22, Bruce Richardson: > On Thu, Feb 16, 2023 at 09:28:17AM +0800, fengchengwen wrote: > > add cc maintainer > > > > On 2023/2/13 20:44, Chengwen Feng wrote: > > > The spinlock should unlock when clock_gettime() failed. This patch > > > fixes it by invoking clock_gettime() before lock. > > > > > > Fixes: 26021a715067 ("eal/bsd: support alarm API") > > > Cc: stable@dpdk.org > > > > > > Signed-off-by: Chengwen Feng > > Acked-by: Bruce Richardson Applied, thanks.