From: Chaitanya Kulkarni <ckulkarnilinux@gmail.com>
To: Al Viro <viro@zeniv.linux.org.uk>, David Disseldorp <ddiss@suse.de>
Cc: linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org,
willy@infradead.org
Subject: Re: [PATCH 1/5] initramfs: move unnecessary memcmp from hot path
Date: Wed, 22 Sep 2021 16:51:21 -0700 [thread overview]
Message-ID: <cf0af95b-4937-0d98-a048-a2e1a90172e6@gmail.com> (raw)
In-Reply-To: <YUu91kH8kOcVHxyb@zeniv-ca.linux.org.uk>
On 9/22/2021 4:35 PM, Al Viro wrote:
> On Wed, Sep 22, 2021 at 01:52:18PM +0200, David Disseldorp wrote:
>> do_header() is called for each cpio entry and first checks for "newc"
>> magic before parsing further. The magic check includes a special case
>> error message if POSIX.1 ASCII (cpio -H odc) magic is detected. This
>> special case POSIX.1 check needn't be done in the hot path, so move it
>> under the non-newc-magic error path.
> You keep refering to hot paths; do you have any data to support that
> assertion?
>
> How much does that series buy you on average, and what kind of dispersion
> do you get before and after it?
>
> I'm not saying I hate the patches themselves, but those references in commit
> messages ping my BS detectors every time I see them ;-/
And this exactly why cover-letter with a quantitative date for such
series is important based on my experience...
next prev parent reply other threads:[~2021-09-22 23:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-22 11:52 [PATCH 1/5] initramfs: move unnecessary memcmp from hot path David Disseldorp
2021-09-22 11:52 ` [PATCH 2/5] initramfs: print helpful cpio error on "crc" magic David Disseldorp
2021-09-22 11:52 ` [PATCH v2 3/5] docs: remove mention of "crc" cpio format support David Disseldorp
2021-09-22 11:52 ` [PATCH 4/5] initramfs: use do_utime() wrapper consistently David Disseldorp
2021-09-22 11:52 ` [PATCH 5/5] initramfs: add INITRAMFS_PRESERVE_MTIME Kconfig option David Disseldorp
2021-09-22 23:28 ` [PATCH 1/5] initramfs: move unnecessary memcmp from hot path Chaitanya Kulkarni
2021-09-23 7:43 ` David Disseldorp
2021-09-22 23:35 ` Al Viro
2021-09-22 23:51 ` Chaitanya Kulkarni [this message]
2021-09-23 7:33 ` David Disseldorp
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=cf0af95b-4937-0d98-a048-a2e1a90172e6@gmail.com \
--to=ckulkarnilinux@gmail.com \
--cc=ddiss@suse.de \
--cc=linux-doc@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
--cc=willy@infradead.org \
/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).