From: Johannes Sixt <j6t@kdbg.org>
To: Patrick Steinhardt <ps@pks.im>
Cc: "brian m. carlson" <sandals@crustytoothpaste.net>,
rsbecker@nexbridge.com, git@vger.kernel.org,
Junio C Hamano <gitster@pobox.com>, Jeff King <peff@peff.net>
Subject: Re: Git 2.54.0-rc1, subtests of t5310, t5326, t5327
Date: Fri, 10 Apr 2026 09:35:34 +0200 [thread overview]
Message-ID: <1b4c3562-8501-433e-afaf-2cb3a295b4ac@kdbg.org> (raw)
In-Reply-To: <addgkjiB80pgKw69@pks.im>
Am 09.04.26 um 10:17 schrieb Patrick Steinhardt:
> Yeah, agreed. I think we shouldn't make ourselves a hostage to platforms
> that don't have reasonable support for writev(3p), as it does buy us
> something on the majority of platforms that actually support it well.
>
> That of course doesn't mean that we shouldn't support such platforms.
My take on this matter is that the use writev in Git's code gives POSIX
centered contributors a false sense of security. POSIX's writev offers a
number of guarantees that a compatibility implementation cannot provide.
If uses of writev proliferate, I forsee the time when someone reports a
problem on a compatibility platform, and one of us will point at POSIX
and say "but that cannot happen because we have this and that guarantee".
What did we gain with writev? There are half that many system calls. So
what? Have there been any hard numbers about better performance, for
example? Not even the call sites became simpler, see the commit that
introduced the only caller: 26986f4cbaf3 ("sideband: use writev(3p) to
send pktlines", 2026-03-13).
-- Hannes
next prev parent reply other threads:[~2026-04-10 8:10 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-07 23:29 Git 2.54.0-rc1, subtests of t5310, t5326, t5327 rsbecker
2026-04-08 4:17 ` Jeff King
2026-04-08 14:54 ` rsbecker
2026-04-08 16:25 ` rsbecker
2026-04-08 17:39 ` Jeff King
2026-04-08 18:12 ` Junio C Hamano
2026-04-08 20:08 ` rsbecker
2026-04-08 20:21 ` Junio C Hamano
2026-04-08 21:27 ` rsbecker
2026-04-08 21:43 ` Junio C Hamano
2026-04-08 22:04 ` rsbecker
2026-04-08 22:24 ` Junio C Hamano
2026-04-08 22:35 ` Junio C Hamano
2026-04-08 23:15 ` rsbecker
2026-04-08 22:32 ` Jeff King
2026-04-09 0:20 ` brian m. carlson
2026-04-09 8:17 ` Patrick Steinhardt
2026-04-09 9:48 ` Phillip Wood
2026-04-09 11:29 ` Patrick Steinhardt
2026-04-09 13:46 ` rsbecker
2026-04-09 20:33 ` Jeff King
2026-04-09 22:40 ` rsbecker
2026-04-09 22:58 ` Jeff King
2026-04-10 4:34 ` Patrick Steinhardt
2026-04-09 20:51 ` Jeff King
2026-04-10 7:35 ` Johannes Sixt [this message]
2026-04-08 18:36 ` rsbecker
2026-04-08 22:14 ` Jeff King
2026-04-08 17:37 ` Jeff King
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=1b4c3562-8501-433e-afaf-2cb3a295b4ac@kdbg.org \
--to=j6t@kdbg.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=peff@peff.net \
--cc=ps@pks.im \
--cc=rsbecker@nexbridge.com \
--cc=sandals@crustytoothpaste.net \
/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