patch 'eal/unix: optimize thread creation' has been queued to stable release 23.11.3
Xueming Li
xuemingl at nvidia.com
Mon Dec 9 09:04:13 CET 2024
Thanks, I'll update.
________________________________
From: David Marchand <david.marchand at redhat.com>
Sent: Monday, December 9, 2024 3:00 PM
To: Xueming Li <xuemingl at nvidia.com>
Cc: Luca Boccassi <bluca at debian.org>; Stephen Hemminger <stephen at networkplumber.org>; Chengwen Feng <fengchengwen at huawei.com>; dpdk stable <stable at dpdk.org>
Subject: Re: patch 'eal/unix: optimize thread creation' has been queued to stable release 23.11.3
Hello Xueming,
On Sat, Dec 7, 2024 at 9:02 AM Xueming Li <xuemingl at nvidia.com> wrote:
> @@ -176,6 +192,14 @@ rte_thread_create(rte_thread_t *thread_id,
> }
> }
>
> +#ifdef RTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP
> + ret = pthread_create((pthread_t *)&thread_id->opaque_id, attrp,
> + (void *)(void *)thread_func, args);
> + if (ret != 0) {
> + RTE_LOG(DEBUG, EAL, "pthread_create failed");
A \n is missing here.
> + goto cleanup;
> + }
> +#else /* !RTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP */
> ret = pthread_create((pthread_t *)&thread_id->opaque_id, attrp,
> thread_start_wrapper, &ctx);
> if (ret != 0) {
--
David Marchand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/stable/attachments/20241209/871a40e9/attachment.htm>
More information about the stable
mailing list