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 87303A0542 for ; Mon, 30 May 2022 18:26:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 74566400D6; Mon, 30 May 2022 18:26:49 +0200 (CEST) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mails.dpdk.org (Postfix) with ESMTP id DB42E400D6 for ; Mon, 30 May 2022 18:26:48 +0200 (CEST) Received: by mail-pj1-f41.google.com with SMTP id u12-20020a17090a1d4c00b001df78c7c209so14246823pju.1 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=MC9Yce+A544XUvf9hL9YEm6kiHSSgZLqDT9x3RoRIVKsNQqHF2lAjmQgOPYX2+BhME luIPWR6nrun8ediZ9W61FdYLQ81em9wHULi+hrmRF9oxmcK2Q5Jyp4Vw4hls77jBkOCl A9GZsYuwoVNgmDuTgDOavyo8QHlBlMBd80GBWs6Eb6gJGDNFTneIxQd/aUcy7EhxXOba SQhLqW8tQJk4yV6De+5J/b697KepvcXXFzGPo7MwnicFNentlxKOD1F4pkQO80kkCobO W+SSqwv8QVWsLpd6ByjhFursHfmCIAt8W/S1j7Fzyf4qoP6y+PwIOtyhCEh+r7F05H2n 4ZKQ== X-Gm-Message-State: AOAM532FHFrgvro9Q7cKIizdtRpfOTQh2TRxqPdWhfQjDhrrV1WcTkHN IVhnmzedGnteVHPoyWeqCj4P3g== 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: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-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.