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 80C0C45E56 for ; Mon, 9 Dec 2024 08:01:10 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7777B4025D; Mon, 9 Dec 2024 08:01:10 +0100 (CET) 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 C682E4025D for ; Mon, 9 Dec 2024 08:01:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1733727669; 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=XIDGQGORuGXTUFvHjoXAhXB6cxJZF44qAIk4bskUltw=; b=bzZwkcu8Dqxo8nTlR1cxy49novg54JtBQ0uyChB+tLeis5JD5JoL3a4GY7Ht4y4IPHO2zn 1vFgfJNi1b3BzdPpuwb671tm4UHrzbDxa40shVYCPAi/0dJGTeJHLCBJEPaeR1wvEYaHQ4 P1qvKPN4ge9F8Ntkc3dckg1k5FseHPA= Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-541-Ys6UfkGIPXWllDTdPP6iDw-1; Mon, 09 Dec 2024 02:01:08 -0500 X-MC-Unique: Ys6UfkGIPXWllDTdPP6iDw-1 X-Mimecast-MFC-AGG-ID: Ys6UfkGIPXWllDTdPP6iDw Received: by mail-lj1-f200.google.com with SMTP id 38308e7fff4ca-300317c9dbbso9207021fa.3 for ; Sun, 08 Dec 2024 23:01:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733727667; x=1734332467; 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=XIDGQGORuGXTUFvHjoXAhXB6cxJZF44qAIk4bskUltw=; b=eF9hzpL4XSF2LKmTvvsJklixFN7TGN5Q09JBZ7ATZgIl0dcIZ40a3ywrn935IyqIG6 KDzZZRhqwhiL9UUFfq6Hp1vd7+mHsnQSZBkU5jEiHIRRL+Ymuv5QNSc/3LYRTtaxx+Ec rkpi3b0Wlw1Qyj5b3MuuY3C4mQGhbcoIFHovvhS0KYhY50gr4WrwUPqiybYoJ/NkLW5k aeA52nRIIfqDIYUXmTYzRPLbeBcPfz+cA0pr4SSoLggcViWeZBO4zZhRm5eob+PyF2GF GP34+qvuzgmTKJgNJJMZ21zPouLgmC7ca5WklWAmmEWAG+Q99GTwrF5JViF02Ad+y9TQ 24fA== X-Forwarded-Encrypted: i=1; AJvYcCW1WP0H21jmXbEW293yCCQhy5+IhOsnQbA9lxwpgv5+WvCpxPQLPqiYXYVgm86ZjTUib68djJg=@dpdk.org X-Gm-Message-State: AOJu0YzvSum22Uaac/BY6KU9CgJNyUW2berMeqQqfAtmLCFJNgvI+TCS 0R55HGkzYK3oUyjoivjAbgtfCei/bypHbPkY5Bb9UjL4tGRXhC03SpQyfNcAfJGMbY9jyPsG4UW IJhKeekHGTsh/aDClXxB8sHtt8mSTzrExzrfcHj5caIlqhcIWXS6WEzN+/btEBSA7gFm68/3VQJ 2zUlsBX++KbegOo2+KrFE= X-Gm-Gg: ASbGncsymAZ9pQ7Eb5+BSmphU0YSs5s1yWoXeSvgumU+H+bYF5RFDEGSJcl100Hx5da izo4gsAKR+ezOQC7+K1/F32p+sPCdCSrwxg== X-Received: by 2002:a05:651c:888:b0:300:43f9:ad57 with SMTP id 38308e7fff4ca-30043f9ae30mr23677391fa.32.1733727666241; Sun, 08 Dec 2024 23:01:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IE6BrNJc9QxyCT9hhIpwJSP8Ob3TqTjO4ok0fXvndgLDRAVepYpYTpBpQwn197c7/64cDxvC8ocItBJ06QG29U= X-Received: by 2002:a05:651c:888:b0:300:43f9:ad57 with SMTP id 38308e7fff4ca-30043f9ae30mr23677271fa.32.1733727665910; Sun, 08 Dec 2024 23:01:05 -0800 (PST) MIME-Version: 1.0 References: <20241111062847.216344-122-xuemingl@nvidia.com> <20241207080055.488538-1-xuemingl@nvidia.com> <20241207080055.488538-13-xuemingl@nvidia.com> In-Reply-To: <20241207080055.488538-13-xuemingl@nvidia.com> From: David Marchand Date: Mon, 9 Dec 2024 08:00:00 +0100 Message-ID: Subject: Re: patch 'eal/unix: optimize thread creation' has been queued to stable release 23.11.3 To: Xueming Li Cc: Luca Boccassi , Stephen Hemminger , Chengwen Feng , dpdk stable X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: SP10pXYVZRCxtoB9gInax50qL_VUOD97KS8S3hQe_Z8_1733727667 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hello Xueming, On Sat, Dec 7, 2024 at 9:02=E2=80=AFAM Xueming Li wro= te: > @@ -176,6 +192,14 @@ rte_thread_create(rte_thread_t *thread_id, > } > } > > +#ifdef RTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP > + ret =3D pthread_create((pthread_t *)&thread_id->opaque_id, attrp, > + (void *)(void *)thread_func, args); > + if (ret !=3D 0) { > + RTE_LOG(DEBUG, EAL, "pthread_create failed"); A \n is missing here. > + goto cleanup; > + } > +#else /* !RTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP */ > ret =3D pthread_create((pthread_t *)&thread_id->opaque_id, attrp, > thread_start_wrapper, &ctx); > if (ret !=3D 0) { --=20 David Marchand