From: Stefano Brivio <sbrivio@redhat.com>
To: David Gibson <david@gibson.dropbear.id.au>
Cc: passt-dev@passt.top, Markus Armbruster <armbru@redhat.com>
Subject: Re: [PATCH v3 0/2] util: Fix some problems in write_remainder()
Date: Wed, 18 Sep 2024 20:13:22 +0200 [thread overview]
Message-ID: <20240918201322.616ed30e@elisabeth> (raw)
In-Reply-To: <20240918104406.3050878-1-david@gibson.dropbear.id.au>
On Wed, 18 Sep 2024 20:44:04 +1000
David Gibson <david@gibson.dropbear.id.au> wrote:
> With Markus Armbruster's help I re-examined the Coverity warning we've
> had in this function for a while. While I still don't understand some
> steps in the report it's giving, I did spot some real problems in the
> vicinity. It turns out fixing those also fixes the Coverity warning,
> so here we go.
>
> Changes since v2:
> * Handle EINTR within write_all_buf() (suggested by Markus
> Armbruster)
>
> David Gibson (2):
> util: Add helper to write() all of a buffer
> util: Remove possible quadratic behaviour from write_remainder()
Applied.
--
Stefano
prev parent reply other threads:[~2024-09-18 18:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-18 10:44 [PATCH v3 0/2] util: Fix some problems in write_remainder() David Gibson
2024-09-18 10:44 ` [PATCH v3 1/2] util: Add helper to write() all of a buffer David Gibson
2024-09-18 10:44 ` [PATCH v3 2/2] util: Remove possible quadratic behaviour from write_remainder() David Gibson
2024-09-19 10:42 ` Markus Armbruster
2024-09-19 15:36 ` David Gibson
2024-09-19 16:19 ` Stefano Brivio
2024-09-18 18:13 ` Stefano Brivio [this message]
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=20240918201322.616ed30e@elisabeth \
--to=sbrivio@redhat.com \
--cc=armbru@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=passt-dev@passt.top \
/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.
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
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 IMAP folder(s).