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 3D79FA034C; Sun, 18 Dec 2022 11:07:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D145442D15; Sun, 18 Dec 2022 11:07:37 +0100 (CET) Received: from mail-qv1-f50.google.com (mail-qv1-f50.google.com [209.85.219.50]) by mails.dpdk.org (Postfix) with ESMTP id 4D75940146 for ; Tue, 13 Dec 2022 09:54:53 +0100 (CET) Received: by mail-qv1-f50.google.com with SMTP id h10so10013016qvq.7 for ; Tue, 13 Dec 2022 00:54:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=lX8/LjIfyaTK6lIOP25lXOA3oK6tcInryNw5h2A3jsA=; b=r5u0UMqulGMXUv84KOKoRes5FtVVPrp3jC/2FW+Min+PJON/IhU1kxCGT5Qug+oRLH zMIhtRMAXknWkHRQ+ppMdXdg4VkPokhKTgnN6YykEX+0+AQusrO/UKau/UP1YexRcP5u dx6YtYMSd8jCHjLKA6OSDM1LYhPBswbWydYy56xUwq0XWZLb4k2VOWrz4AQaDRX91YAw 57mlyOy7wM37fcsykWfiPy0oRcXdHKS7dD6cuA5vrjHEmThsHbPEChCQbCnaJzT95xlx 7MRcztYmouzhSKmFqct6sQZ5cJeFsSDObmtW7d507/o5yeff4qho5+GR+lQCKb0NPf6h n/+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lX8/LjIfyaTK6lIOP25lXOA3oK6tcInryNw5h2A3jsA=; b=EhcnBFU3d+qRr3uG4G1IAFTaly+XoHiO5jfmonm0WXET2ukdu4zz+6NADXu/9HRdw7 h7QPWQVd1w6ypwxBAbwcdsQ5FgaCFVn9tvUzCf9diEBkAebkh9gTkqWKzx/KYDoPpjx8 zr+7T6k25Wo7f/Z7nGaj0kUJESYofBp18gjX9VH/U9ar6WIHcda6uIgcprdyOf4A3Zyc IWbcPAYwt3QCcP59SVfDkclY13F3Ep9k1Ay1O0zglpsE0eU0TCrEVMSPy6UEAC53VDlb 0UqDNkGyxT1cQ/VBBn01Mi/MnSPvtdX+UDW1JUNWPxYavsGPt4vrebdT5gun5MF+4Ppe nnPg== X-Gm-Message-State: ANoB5pla1GU9JUO26holg+56BR/N6AdzG4pPXJSuNgd2/w0eMOIsmxfB pw21uUXdOO67qqk0PppqiYpwWLQY4IjRrtAOa2x9eg== X-Google-Smtp-Source: AA0mqf46GICK7LxOrvigCwQKceX/39+9rRUASeh7JNxLjWdHTHDF5amJ0CdidsI4gUKaEkP30rqfpfgf/fPavao/V+g= X-Received: by 2002:ad4:5186:0:b0:4c6:e88a:fa9f with SMTP id b6-20020ad45186000000b004c6e88afa9fmr52928164qvp.108.1670921692744; Tue, 13 Dec 2022 00:54:52 -0800 (PST) MIME-Version: 1.0 References: <20221213075938.36964-1-changfengnan@bytedance.com> <4037650.6PsWsQAL7t@thomas> In-Reply-To: <4037650.6PsWsQAL7t@thomas> From: Fengnan Chang Date: Tue, 13 Dec 2022 16:54:41 +0800 Message-ID: Subject: Re: [External] Re: [PATCH] eal: cleanup alarm and multiprocess hotplug before memory detach To: Thomas Monjalon Cc: dev@dpdk.org, david.marchand@redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Sun, 18 Dec 2022 11:07:34 +0100 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 Thomas Monjalon =E4=BA=8E2022=E5=B9=B412=E6=9C=8813= =E6=97=A5=E5=91=A8=E4=BA=8C 16:34=E5=86=99=E9=81=93=EF=BC=9A > > 13/12/2022 08:59, 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. > > > > Signed-off-by: Fengnan Chang > > --- > > lib/eal/linux/eal.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > What about FreeBSD? > FreeBSD may have same problem, I'll add FreeBSD in V2, before that I want wait a few days for more comments. Thanks.