From: Jens Axboe <axboe@kernel.dk>
To: Pavel Begunkov <asml.silence@gmail.com>,
linux-block@vger.kernel.org,
Alexander Viro <viro@zeniv.linux.org.uk>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] optimise iov_iter
Date: Thu, 19 Nov 2020 09:46:57 -0700 [thread overview]
Message-ID: <2b50322d-821f-469e-6f57-072b54e25ef4@kernel.dk> (raw)
In-Reply-To: <cover.1605799583.git.asml.silence@gmail.com>
On 11/19/20 8:29 AM, Pavel Begunkov wrote:
> The first patch optimises iov_iter_npages() for the bvec case, and the
> second helps code generation to kill unreachable code.
>
> Pavel Begunkov (2):
> iov_iter: optimise iov_iter_npages for bvec
> iov_iter: optimise iter type checking
>
> include/linux/uio.h | 10 +++++-----
> lib/iov_iter.c | 10 +++++-----
> 2 files changed, 10 insertions(+), 10 deletions(-)
Nice! Tested this and confirmed both the better code generation,
and reduction in overhead in iov_iter_npages().
Reviewed-by: Jens Axboe <axboe@kernel.dk>
--
Jens Axboe
next prev parent reply other threads:[~2020-11-19 16:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-19 15:29 [PATCH 0/2] optimise iov_iter Pavel Begunkov
2020-11-19 15:29 ` [PATCH 1/2] iov_iter: optimise iov_iter_npages for bvec Pavel Begunkov
2020-11-19 15:29 ` [PATCH 2/2] iov_iter: optimise iter type checking Pavel Begunkov
2020-11-19 17:03 ` Christoph Hellwig
2020-11-19 17:12 ` Pavel Begunkov
2020-12-11 2:01 ` Al Viro
2020-12-13 22:32 ` Pavel Begunkov
2020-12-14 10:28 ` David Laight
2020-12-14 17:25 ` Pavel Begunkov
2020-11-19 16:46 ` Jens Axboe [this message]
2020-11-19 17:14 ` [PATCH 0/2] optimise iov_iter Pavel Begunkov
2020-11-19 17:20 ` Jens Axboe
2020-11-19 18:02 ` Pavel Begunkov
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=2b50322d-821f-469e-6f57-072b54e25ef4@kernel.dk \
--to=axboe@kernel.dk \
--cc=asml.silence@gmail.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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).