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 1BF82A0C44; Mon, 12 Apr 2021 09:20:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C9EA94069F; Mon, 12 Apr 2021 09:20:10 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 1DA3640698 for ; Mon, 12 Apr 2021 09:20:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618212008; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cWpa2LWn4PRHwSAjgSNPAEtVBhozeThE/Ho7bfCgfSw=; b=JhtVrklIibtWfmT+wInO5flq2qSPwyVfQxCpHRF5UE92jEPcb/bIg/RM4EHuBQ2ez6H0oI kAj0OAJ7LFlyZ/HuNcfW8zc3uH24ZqfM5OUaHykv6nGD2jj352MtC+/uVdy7+10+fnTsm2 ni4FRTnD+Rm52RZEpqIum2+OB9la9GI= Received: from mail-ua1-f69.google.com (mail-ua1-f69.google.com [209.85.222.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-26-seLEdTT6P7602ag4BaSMeQ-1; Mon, 12 Apr 2021 03:20:06 -0400 X-MC-Unique: seLEdTT6P7602ag4BaSMeQ-1 Received: by mail-ua1-f69.google.com with SMTP id d15so665294uap.9 for ; Mon, 12 Apr 2021 00:20:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cWpa2LWn4PRHwSAjgSNPAEtVBhozeThE/Ho7bfCgfSw=; b=YH+T+MiFd5voGoioKMU0LRdAdLkiPY4lAGMXqRiZuttlZKfXDSKCF//yGSb7l6EJmx 70QHhrMZ7nJ2PfCPXcTZPU/YwsjKdj8xyxPnqryI/8/I94nPsO2JJA065IGkF6nQSGJy tjCHTGLjLF2uRh1bfGdbNFaovEADIKG1pN16oJOm6OHG3BduVW2dxmWxc1r7UJdZokoy 9c9z5LT+EyJ503O9iWYBH2ZjLiy/c5NUNNhgq3j76xVHjUB2zVXK/7TWtffiKbHX93dP pJnzlzyaHlTPfOBSh1rO+KEcdPwTBaCb8VLh8FM6aD+Gdoka0YDtCMHveoiUuGj5nyM4 Mbww== X-Gm-Message-State: AOAM5303FArBa7b0OOwKkEJfq0AJJdEwshH0ui/TRsWQFmwk7d+13hSE zW3OQKw00Ct8OU7EOENnv/Uela/Ud7E/LNqIy4ksbpK7IM9RrdDW7yn1fXVHR0DZnTesSHfJgmv t4e2vyNGZAjUupJ2CWdM= X-Received: by 2002:a1f:5682:: with SMTP id k124mr18056446vkb.20.1618212006105; Mon, 12 Apr 2021 00:20:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxG7IZJ6MnprpAwyBIAn/D9JxHwGvbS6a0jHTRetWgRjhIs6OVoXK17Tpe6ZjJYxG8TTgXQZUJ1UMBlQRNnSMc= X-Received: by 2002:a1f:5682:: with SMTP id k124mr18056437vkb.20.1618212005871; Mon, 12 Apr 2021 00:20:05 -0700 (PDT) MIME-Version: 1.0 References: <1618051221-19962-1-git-send-email-humin29@huawei.com> In-Reply-To: <1618051221-19962-1-git-send-email-humin29@huawei.com> From: David Marchand Date: Mon, 12 Apr 2021 09:19:54 +0200 Message-ID: To: "Min Hu (Connor)" , Shepard Siegel , Qiming Yang , Xiao Wang , Rosen Xu , Maxime Coquelin Cc: dev , "Yigit, Ferruh" , "Mcnamara, John" , Ciara Power Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 0/7] support set thread name 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 Sender: "dev" On Sat, Apr 10, 2021 at 12:40 PM Min Hu (Connor) wrote: > > This set of patches support set thread name for debugging. > > Chengwen Feng (7): > net/ark: support set thread name > net/ice: support set VSI reset thread name > vdpa/ifc: support set notify and vring relay thread name > raw/ifpga: support set monitor thread name > examples/performance-thread: support set thread name > telemetry: support set init threads name > examples/vhost_blk: support set ctrl worker thread name Rather than add those calls, can maintainers check if their component can use ctrl threads instead? rte_ctrl_thread_create ensures both that the name is set, and that the ctrl thread won't run on the same cpu as "datapath" threads. I also saw some issues with components creating threads. I'll post a series addressing those later (net/ark, net/ice not detaching/joining created threads + telemetry not checking pthread_create failures). -- David Marchand