From: Al Viro <viro@zeniv.linux.org.uk>
To: Gou Hao <gouhao@uniontech.com>
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
jiaofenfang@uniontech.com, willy@infradead.org
Subject: Re: [PATCH V2] fs: remove fget_many and fput_many interface
Date: Fri, 13 May 2022 00:45:05 +0000 [thread overview]
Message-ID: <Yn2qEej5rjnVKw5i@zeniv-ca.linux.org.uk> (raw)
In-Reply-To: <20211102024648.14578-1-gouhao@uniontech.com>
On Tue, Nov 02, 2021 at 10:46:48AM +0800, Gou Hao wrote:
> These two interface were added in 091141a42 commit,
> but now there is no place to call them.
>
> The only user of fput/fget_many() was removed in commit
> 62906e89e63b ("io_uring: remove file batch-get optimisation").
>
> A user of get_file_rcu_many() were removed in commit
> f073531070d2 ("init: add an init_dup helper").
>
> And replace atomic_long_sub/add to atomic_long_dec/inc
> can improve performance.
>
> Here are the test results of unixbench:
>
> Cmd: ./Run -c 64 context1
>
> Without patch:
> System Benchmarks Partial Index BASELINE RESULT INDEX
> Pipe-based Context Switching 4000.0 2798407.0 6996.0
> ========
> System Benchmarks Index Score (Partial Only) 6996.0
>
> With patch:
> System Benchmarks Partial Index BASELINE RESULT INDEX
> Pipe-based Context Switching 4000.0 3486268.8 8715.7
> ========
> System Benchmarks Index Score (Partial Only) 8715.7
>
> Signed-off-by: Gou Hao <gouhao@uniontech.com>
Rebased and applied, with deep apologies for having it fall through cracks
back in November.
prev parent reply other threads:[~2022-05-13 0:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-02 2:46 Gou Hao
2022-05-13 0:45 ` Al Viro [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=Yn2qEej5rjnVKw5i@zeniv-ca.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=gouhao@uniontech.com \
--cc=jiaofenfang@uniontech.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®