From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnon Warshavsky Subject: Re: [PATCH v4 10/11] eal: replace rte_panic instances in init sequence Date: Fri, 20 Apr 2018 16:32:36 +0300 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: "Burakov, Anatoly" , Thomas Monjalon , "Lu, Wenzhuo" , "Doherty, Declan" , jerin.jacob@caviumnetworks.com, Bruce Richardson , "Yigit, Ferruh" , dev@dpdk.org To: Kevin Traynor Return-path: Received: from mail-it0-f52.google.com (mail-it0-f52.google.com [209.85.214.52]) by dpdk.org (Postfix) with ESMTP id EBC1ED148 for ; Fri, 20 Apr 2018 15:32:37 +0200 (CEST) Received: by mail-it0-f52.google.com with SMTP id 71-v6so2496074ith.2 for ; Fri, 20 Apr 2018 06:32:37 -0700 (PDT) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Agree. As I wrote below - I will put this instance back in place for this patchset and handle it on a different one On Thu, Apr 19, 2018 at 8:31 PM, Kevin Traynor wrote: > 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 :) > > > > -- *Arnon Warshavsky* *Qwilt | work: +972-72-2221634 | mobile: +972-50-8583058 | arnon@qwilt.com *