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 9FB3041CA7; Wed, 15 Feb 2023 16:08:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8DAF440A7D; Wed, 15 Feb 2023 16:08:48 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 59C064067E; Wed, 15 Feb 2023 16:08:47 +0100 (CET) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id A5EE15C00CF; Wed, 15 Feb 2023 10:08:45 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 15 Feb 2023 10:08:45 -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=1676473725; x= 1676560125; bh=oL929pl6rgYIrFAwz2TjHFZeANfKDNB2SmewnK+LXCA=; b=Z PsefJX9q+07G9BoKoCUBq86rNZg+Z7b4HCINkUvbYRBkdggby46j5fh0AyrqKBhN YLNA3vsfY1QAQMpKrbgXYtJmU48vPCb1QzVEzAF3D2pbopD1bbVc4XZbo5YbB48G K/T7vRrgOfavUto3mXZUiNYeW7pzw5QtPYpncHBo8liYhFXA3D5X0/2lXHLHNxqN fI+Std7w4SP+LVgJThZUPvHM+ACXW5oBMQTTHIRKxT1EgHEsftKtiBl0VpwPulPo pKom3YQBysTVHbVw1MtTM39mrMwGWNZMqPOXugj57H4alq/O1vcGJks6u5xm6VAa b1rhPg+c7uQrgWy9gVXTA== 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=1676473725; x= 1676560125; bh=oL929pl6rgYIrFAwz2TjHFZeANfKDNB2SmewnK+LXCA=; b=C eiuhpnQckICw9EqBAkakHpHhS46P1BRc3Cz/XMiZGBCmCJl97mdAT7QK7g3IJIPo 881NQfVAJo5LXjl9LEesVBLPNcOM/R0KM5qAiEU4SY4Z2myVqmKoOOrnrw7UETcs 4Td5AHG9dSiiOwIj0nrqoSWSX1JyO228ews27iRIXHiLmIIji33wxCYTP5YHd89O 5/BZjD1zFHyePlIcH9IOAKjpZziNSMiabWwYM71G9uBxt8s0TmEsdMBmGM3LruPN 4I8PNbiwnibzHi8VCF76gbqnFnnV9U6v5aG58cWo1/WNqirIgHkEECluVkCRBw7y MWBUJ2CFl4FkZ5fsP+R6w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeihedgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 15 Feb 2023 10:08:44 -0500 (EST) From: Thomas Monjalon To: Fengnan Chang Cc: david.marchand@redhat.com, dev@dpdk.org, stable@dpdk.org Subject: Re: [PATCH v2] eal: cleanup alarm and multiprocess hotplug before memory detach Date: Wed, 15 Feb 2023 16:08:42 +0100 Message-ID: <6474795.tM3a2QDmDi@thomas> In-Reply-To: <20221221034152.30628-1-changfengnan@bytedance.com> References: <20221221034152.30628-1-changfengnan@bytedance.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 21/12/2022 04:41, Fengnan Chang: > Alarm and multiprocess hotplug still need access hugepage memory, > if alarm event processed after memory detach, it may cause SEGV. > So cleanup alarm and multiprocess hotplug before memory detach. > > Fixes: 90b13ab8d4f7 ("alarm: remove direct access to interrupt handle") > Fixes: a0cc7be20dd1 ("mem: cleanup multiprocess resources") > > Signed-off-by: Fengnan Chang Cc: stable@dpdk.org Applied, thanks.