From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com [209.85.220.42]) by dpdk.org (Postfix) with ESMTP id 3FB6F5937 for ; Thu, 23 Apr 2015 00:57:42 +0200 (CEST) Received: by pabsx10 with SMTP id sx10so999909pab.3 for ; Wed, 22 Apr 2015 15:57:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=ybDQMo7uLfCrhJwXpiVcWArJ0NKnguokC2XEdnGOYl0=; b=Jt95qBwnJDhB7SOJJLLoHDXMdkJeNXr0xQ4u8Ui/HcyqXZznfxmaDB2gQxF6gIN/Fk MLn2iE4ARO+2Cd3CY+pv0MEPip46221ADWdtfN5Hu1w3ujvO2CLrDxtc54JWSYxzGXWg 8O0y9+tBfA7XsLIsVlpaDEjk/IkYaB8c/fzlGZvI42/x1miOjrkgAoizRl6uAij99w/A fUviCKDWUJ8NmqINPSnhc94mt09NdZw8tNxZ7WzC6EJTHGHeA6rQpxmah1PHWXeGAA95 /NFCwdzkbAUsg8BEnKYOpib2ZgOKtn0b2eBszNdK3iNbzeovpeouomlTrMLgU/LZ2SMx 0WYQ== X-Gm-Message-State: ALoCoQk2GEd72s7IU7qjl5SDJ6gozSVpNMiEl0SNsgfFpD3obkWobpj8vnYwLLsDYrLM1hkqLhIN X-Received: by 10.68.225.99 with SMTP id rj3mr17929289pbc.54.1429743461513; Wed, 22 Apr 2015 15:57:41 -0700 (PDT) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id km11sm6029264pbd.90.2015.04.22.15.57.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Apr 2015 15:57:41 -0700 (PDT) Date: Wed, 22 Apr 2015 15:57:44 -0700 From: Stephen Hemminger To: Ravi Kerur Message-ID: <20150422155744.6c41b35d@urahara> In-Reply-To: <1429736748-16874-1-git-send-email-rkerur@gmail.com> References: <1429736748-16874-1-git-send-email-rkerur@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] Use pthread_setname APIs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2015 22:57:42 -0000 On Wed, 22 Apr 2015 14:05:48 -0700 Ravi Kerur wrote: > Add code to set names to threads via pthread APIs. > In Linux corresponding _getname_ is available, however, FreeBSD > doesn't have corresponding _get_name API available yet. Hence _getname_ > is not yet used in the code. > > Ravi Kerur (1): > Use pthread_setname apis > > config/common_bsdapp | 5 +++++ > config/common_linuxapp | 5 +++++ > examples/vhost/Makefile | 1 + > examples/vhost/main.c | 18 ++++++++++++++++-- > examples/vhost_xen/Makefile | 1 + > examples/vhost_xen/main.c | 20 ++++++++++++++++++-- > lib/librte_eal/bsdapp/eal/eal.c | 7 +++++++ > lib/librte_eal/linuxapp/eal/Makefile | 2 ++ > lib/librte_eal/linuxapp/eal/eal.c | 11 +++++++++++ > lib/librte_eal/linuxapp/eal/eal_interrupts.c | 20 +++++++++++++++++--- > lib/librte_eal/linuxapp/eal/eal_pci_vfio_mp_sync.c | 16 ++++++++++++++-- > lib/librte_eal/linuxapp/eal/eal_timer.c | 11 ++++++++++- > 12 files changed, 107 insertions(+), 10 deletions(-) > Since it possible to have multiple DPDK applications in same environment, and the thread name size is so limited, I wonder if this is a good idea.