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 DC8674261A; Fri, 22 Sep 2023 15:46:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 71B2640150; Fri, 22 Sep 2023 15:46:24 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id A6F1C4013F for ; Fri, 22 Sep 2023 15:46:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1695390383; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=f/O5/g8BfKoXGwOM5RFbpeJrxjJ5PvAObXmlGqGyQno=; b=Di8DCLb5OTOFoGS9D9UlKYKgizGIEPOWHhbnS09DtKxwet2U93LVdXZN9F6bIk8JJnFvD8 Br9daAS5H5g4hGNAPy7DPFPegwg105OhkAnllVQmP0zqtuLQB6hqov/cnj1qoznPF9F6Vk CbW9rZ4/BDvaUtpxFcP91PdqehB/ckE= Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-493-GPI-7xstOvq24tVnSJvvZQ-1; Fri, 22 Sep 2023 09:46:21 -0400 X-MC-Unique: GPI-7xstOvq24tVnSJvvZQ-1 Received: by mail-lj1-f197.google.com with SMTP id 38308e7fff4ca-2c01ce3c29fso29326811fa.3 for ; Fri, 22 Sep 2023 06:46:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695390380; x=1695995180; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=f/O5/g8BfKoXGwOM5RFbpeJrxjJ5PvAObXmlGqGyQno=; b=d4DqyuyeWLbuBPq5pchMLzgMM3gqOsicQ/taIAj+dziJ+6bTH+S7n68fKtqh5fArqw /F859Y54rhu+J5DexVG0P/p+Yq6/KL0Er75pG5GdG7PA6sE3a/i2NSFgt/DSkVeVuiY3 XnymxUpnZqGg5uVQ8p+zy6vRI6M8TCEZtZgkLT+6U+O2vkboSG/Aow/mpdqAhwFYt13F 2MJE798MYw3IgU+j4Rj9zrsrG1+ZQuj0QFWE0LnqnILOLT63eei7rwb+0BHO0GXFPRU2 Id13suy4Dik8tv4GT073S5x/CLV9M7TtnTpbYE7Ckj7l8RBkgYDKa7bSFvmlB9vTMK/A /0+Q== X-Gm-Message-State: AOJu0YyWnDbDzqpOqocHxv6R9CwNNR1/EbmdlId365QXPJTF8D3W3hDr +ty7/XyOlkiEax/tHLnVzQdbJLXUkEykL3GlwgIngbaR35IOC7uJsslLa2rDCwc9x4OmFmEsHPf I4EOtpVbqqkJC2LOV4as= X-Received: by 2002:a2e:9952:0:b0:2bc:fdec:a3f6 with SMTP id r18-20020a2e9952000000b002bcfdeca3f6mr7616348ljj.48.1695390380040; Fri, 22 Sep 2023 06:46:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGFL+jS/FerHxzPugwZftoQXXmrnM61KrY56uwIdCoNGneXyLSAoYS6JgvrvMQuxvpmsc6krlBFZsZ1ZCkgFvk= X-Received: by 2002:a2e:9952:0:b0:2bc:fdec:a3f6 with SMTP id r18-20020a2e9952000000b002bcfdeca3f6mr7616328ljj.48.1695390379700; Fri, 22 Sep 2023 06:46:19 -0700 (PDT) MIME-Version: 1.0 References: <20230906162226.1618088-1-thomas@monjalon.net> <20230913114351.1940459-1-thomas@monjalon.net> In-Reply-To: <20230913114351.1940459-1-thomas@monjalon.net> From: David Marchand Date: Fri, 22 Sep 2023 15:46:08 +0200 Message-ID: Subject: Re: [PATCH v3 00/11] rework thread management To: Thomas Monjalon Cc: dev@dpdk.org, Tyler Retzlaff , Ferruh Yigit , =?UTF-8?Q?Morten_Br=C3=B8rup?= , Konstantin Ananyev X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Wed, Sep 13, 2023 at 1:45=E2=80=AFPM Thomas Monjalon wrote: > > The main effect of this patch series is to > remove calls to pthread functions except for pthread_cancel and locks. > > The function rte_thread_create_control() does not take thread attributes > settings anymore as it looks a useless complication of the API. > Then the rte_thread API is made stable, > so we can remove the old deprecated functions > rte_thread_setname() and rte_ctrl_thread_create(). > > Some new internal functions are added in rte_thread to make sure > all internal thread names are prefixed with "dpdk-". > > Few other cleanups are done. > > Future work about pthread portability are about: > - cancel > - mutex > > --- > > v2 changes: > - replace (|_) with _? in checkpatch > - simplify thread name size doc > - build time check of internal thread name size > - clean control thread params struct > v3 change: > - fix build (wrong placement of RTE_BUILD_BUG_ON) > note for later: never send a patch during a summit! Series applied, thanks. --=20 David Marchand