patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Matan Azrad <matan@nvidia.com>
To: David Marchand <david.marchand@redhat.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Cc: "stable@dpdk.org" <stable@dpdk.org>,
	Slava Ovsiienko <viacheslavo@nvidia.com>,
	"Xueming(Steven) Li" <xuemingl@nvidia.com>,
	Maxime Coquelin <maxime.coquelin@redhat.com>
Subject: RE: [PATCH] vdpa/mlx5: fix leak on event thread creation
Date: Sun, 3 Jul 2022 09:46:35 +0000	[thread overview]
Message-ID: <BL1PR12MB53809AD1EFDD0F8DBEC071A2DFBF9@BL1PR12MB5380.namprd12.prod.outlook.com> (raw)
In-Reply-To: <20220620131044.1858049-1-david.marchand@redhat.com>



From: David Marchand
> As stated in the manual, pthread_attr_init return value should be checked.
> Besides, a pthread_attr_t should be destroyed once unused.
> 
> In practice, we may have no leak (from what I read in glibc current code), but
> this may change in the future.
> Stick to a correct use of the API.
> 
> Fixes: 5cf3fd3af4df ("vdpa/mlx5: add CPU core parameter to bind polling
> thread")
> Cc: stable@dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Matan Azrad <matan@nvidia.com>

Thanks David!

  parent reply	other threads:[~2022-07-03  9:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-20 13:10 David Marchand
2022-07-01  8:30 ` David Marchand
2022-07-01  8:33   ` Maxime Coquelin
2022-07-03  9:46 ` Matan Azrad [this message]
2022-07-08  9:12 ` Maxime Coquelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BL1PR12MB53809AD1EFDD0F8DBEC071A2DFBF9@BL1PR12MB5380.namprd12.prod.outlook.com \
    --to=matan@nvidia.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=maxime.coquelin@redhat.com \
    --cc=stable@dpdk.org \
    --cc=viacheslavo@nvidia.com \
    --cc=xuemingl@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).