From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by dpdk.org (Postfix) with ESMTP id 0EB27AAB0 for ; Thu, 19 Apr 2018 19:31:27 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9CBB1406E973; Thu, 19 Apr 2018 17:31:26 +0000 (UTC) Received: from ktraynor.remote.csb (ovpn-117-2.ams2.redhat.com [10.36.117.2]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6E76F84455; Thu, 19 Apr 2018 17:31:24 +0000 (UTC) To: "Burakov, Anatoly" , Arnon Warshavsky Cc: Thomas Monjalon , "Lu, Wenzhuo" , "Doherty, Declan" , jerin.jacob@caviumnetworks.com, Bruce Richardson , "Yigit, Ferruh" , dev@dpdk.org References: <1524117669-25729-1-git-send-email-arnon@qwilt.com> <1524117669-25729-11-git-send-email-arnon@qwilt.com> <93afdd1b-b108-9986-5fbe-7d3aacc92ca3@intel.com> From: Kevin Traynor Organization: Red Hat Message-ID: Date: Thu, 19 Apr 2018 18:31:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <93afdd1b-b108-9986-5fbe-7d3aacc92ca3@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Thu, 19 Apr 2018 17:31:26 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Thu, 19 Apr 2018 17:31:26 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'ktraynor@redhat.com' RCPT:'' Subject: Re: [dpdk-dev] [PATCH v4 10/11] eal: replace rte_panic instances in init sequence X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2018 17:31:27 -0000 On 04/19/2018 03:57 PM, Burakov, Anatoly wrote: > On 19-Apr-18 3:48 PM, Arnon Warshavsky wrote: >> Copy on the commit message and volatile. >> >> Regarding the new function defunct_and_remain_in_endless_loop () >> I don't think I can put that in a separate patch without breaking the >> current patch independence. > > How so? > > Just leave some panic instances in there for thread-related stuff and > fix them up in the next patch. > > Also, i'm not sure sending threads into an infinite loop on panic is > such a good idea. You might want to look at Olivier's approach [1] to > creating threads, using pthread_barriers and pthread_kill/cancel. > I haven't reviewed this one yet, but going into an infinite loop doesn't seem like the right thing to do. > This does warrant a separate patch now :) >