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 CA0CDA0542; Mon, 30 May 2022 18:26:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9A96240E28; Mon, 30 May 2022 18:26:50 +0200 (CEST) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by mails.dpdk.org (Postfix) with ESMTP id F166240689 for ; Mon, 30 May 2022 18:26:48 +0200 (CEST) Received: by mail-pj1-f46.google.com with SMTP id w2-20020a17090ac98200b001e0519fe5a8so11141225pjt.4 for ; Mon, 30 May 2022 09:26:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cwsiY/01BU48agXqAth4N055G3N3fw90+7+Ojs7L5kA=; b=P6xyBQgr0ymKKGP47e1oaq+rsl8GWWQvU66McqjSrei/46NUBuHoVLP1Sf4GgGXSKW pOdwnY+SvnwJVDyMLsqu4e2VnYVT09bXdxjGoj59UtxEeEjlf1fw6zWqvolwGpRJcrYD ZfvZl6CxgeiLXU78SDxUlzybceRsWO+u2N/a5ipmCxD1eoS/IPyKOaboUa4jvzldi3UP U+KMfsZQkQTHeqXC27SXO8jXPTjcZQFbvjn8kP2NdyZ93jkY87BbuZLuxwaZk/NyLMly Ik1KlHckZ3cDZ8lXS9SouRQ8PQwtEGlyIOS8o97VNDZaaHarlCDrfbbwV69wqDXDjOkl CAcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cwsiY/01BU48agXqAth4N055G3N3fw90+7+Ojs7L5kA=; b=SUJfN7f1JiJSgAWojrpwCneGZzOyN/3BfNZ9SBnp90NfDcSjhuZAX5i5FpYbkgEt2l q0OyAapE/WrxWcWSTazzWAPX/HScAG3edhDOmUi3yV1i6YjC4YcdeGlJSIVYUsRLNhWI 8OyQ6Dhi4zav5pC70FufOoSr+P4cbGRKaLKNAxw6S/IBwQNMwvQMmXzIjBVN7yxvbNJp LY3QweLfuiJbW74OyfmEzt+jUsKa7D7HdcUJAUfSUJvS94owIfVo7Obqbp2RjvI/6ybW sH8Ji3HzIxT2dTGSzv4HUq0ioCJlV9CES+cQThwULmggEy8MRbOMNvJQPIRjUCrn2JSq Bmzw== X-Gm-Message-State: AOAM531e9l3yG4J5Q+OiLLutQZBK2h05dWrrFt/6xEy2hTwWW+bFep5A 8KMjYtTwN3Mji9yV98O0KTEFqQ== X-Google-Smtp-Source: ABdhPJz76Rinf25COVKH0d9BLoLNtXfvW8FdoJ0Ob/iSjJoyUrxR6sJ38/apcZUQQutx5yQLe7J4jA== X-Received: by 2002:a17:902:6b41:b0:15f:2c60:2459 with SMTP id g1-20020a1709026b4100b0015f2c602459mr57337753plt.41.1653928008053; Mon, 30 May 2022 09:26:48 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id bk3-20020a056a02028300b003f5d7f0ad6asm8741357pgb.48.2022.05.30.09.26.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 09:26:47 -0700 (PDT) Date: Mon, 30 May 2022 09:26:45 -0700 From: Stephen Hemminger To: zhichaox.zeng@intel.com Cc: dev@dpdk.org, qiming.yang@intel.com, bruce.richardson@intel.com, hkalra@marvell.com, david.marchand@redhat.com, aconole@redhat.com, olivier.matz@6wind.com, thomas@monjalon.net, stable@dpdk.org Subject: Re: [PATCH v3] lib/eal: fix segfaults due to thread exit order Message-ID: <20220530092645.31c9318d@hermes.local> In-Reply-To: <20220530134738.488602-1-zhichaox.zeng@intel.com> References: <20220523111642.10406-1-zhichaox.zeng@intel.com> <20220530134738.488602-1-zhichaox.zeng@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Mon, 30 May 2022 13:47:38 +0000 zhichaox.zeng@intel.com wrote: > +static void warn_parent(void) > +{ > + RTE_LOG(WARNING, EAL, "fork() was called, DPDK won't work in the child " > + "process unless it calls rte_eal_init()\n"); > +} > + Too wordy. Don't break messages across lines.