From: Joel Fernandes <joel@joelfernandes.org>
To: linux-kernel@vger.kernel.org
Cc: rushikesh.s.kadam@intel.com, urezki@gmail.com,
neeraj.iitr10@gmail.com, frederic@kernel.org, paulmck@kernel.org,
rostedt@goodmis.org, rcu@vger.kernel.org
Subject: Re: [PATCH v3 resend 0/6] Implement call_rcu_lazy() and miscellaneous fixes
Date: Wed, 10 Aug 2022 22:31:56 -0400 [thread overview]
Message-ID: <87663566-ed67-fee8-4598-13591f2f072b@joelfernandes.org> (raw)
In-Reply-To: <308db02b-b56d-2df1-ee33-7f66e6a85f63@joelfernandes.org>
On 8/10/2022 10:23 PM, Joel Fernandes wrote:
>
>
> On 8/8/2022 11:45 PM, Joel Fernandes (Google) wrote:
>> Just a refresh of v3 with one additional debug patch. v3's cover letter is here:
>> https://lore.kernel.org/all/20220713213237.1596225-1-joel@joelfernandes.org/
>>
>> I just started working on this again while I have some time during paternity
>> leave ;-) So I thought I'll just send it out again. No other changes other
>> than that 1 debug patch I added on the top.
>>
>> Next I am going to go refine the power results as mentioned in Paul's comments
>> on the last cover letter.
>
> Side note: Here is another big selling point for call_rcu_lazy().
> Instead of _lazy(), if you just increased jiffies_till_first_fqs, and
> slowed *all* call_rcu() down to achieve the same effect, that would
> affect percpu refcounters switching to atomic-mode, for example.
>
> They switch to atomic mode by calling __percpu_ref_switch_mode() which
> is called by percpu_ref_switch_to_atomic_sync().>
> This will slow this call down for the full lazy duration which will slow
> down suspend in blk_pre_runtime_suspend().
Correction while I am going on the record (got to be careful these
days). It *might* slow down RCU for the full lazy duration, unless of
course a fly-by rescue call_rcu() comes in.
- Joel
next prev parent reply other threads:[~2022-08-11 2:32 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-09 3:45 Joel Fernandes (Google)
2022-08-09 3:45 ` [PATCH v3 resend 1/6] rcu: Introduce call_rcu_lazy() API implementation Joel Fernandes (Google)
2022-08-09 3:45 ` [PATCH v3 resend 2/6] rcu: shrinker for lazy rcu Joel Fernandes (Google)
2022-08-09 3:45 ` [PATCH v3 resend 3/6] rcuscale: Add laziness and kfree tests Joel Fernandes (Google)
2022-08-09 3:45 ` [PATCH v3 resend 4/6] fs: Move call_rcu() to call_rcu_lazy() in some paths Joel Fernandes (Google)
2022-08-18 17:22 ` Joel Fernandes
2022-08-18 17:23 ` Joel Fernandes
2022-08-18 23:05 ` Joel Fernandes
2022-08-19 1:21 ` Joel Fernandes
2022-08-19 1:29 ` Joel Fernandes
2022-08-19 2:35 ` Paul E. McKenney
2022-08-19 2:45 ` Joel Fernandes
2022-08-19 16:30 ` Joel Fernandes
2022-08-19 17:12 ` Paul E. McKenney
2022-08-19 18:14 ` Joel Fernandes
2022-08-19 18:17 ` Joel Fernandes
2022-08-19 18:26 ` Paul E. McKenney
2022-08-19 18:29 ` Joel Fernandes
2022-08-19 19:40 ` Joel Fernandes
2022-08-19 19:58 ` Paul E. McKenney
2022-08-19 20:13 ` Joel Fernandes
2022-08-09 3:45 ` [PATCH v3 resend 5/6] rcutorture: Add test code for call_rcu_lazy() Joel Fernandes (Google)
2022-08-09 3:45 ` [PATCH v3 resend 6/6] debug: Toggle lazy at runtime and change flush jiffies Joel Fernandes (Google)
2022-08-11 2:23 ` [PATCH v3 resend 0/6] Implement call_rcu_lazy() and miscellaneous fixes Joel Fernandes
2022-08-11 2:31 ` Joel Fernandes [this message]
2022-08-11 2:51 ` Paul E. McKenney
2022-08-11 3:22 ` Joel Fernandes
2022-08-11 3:46 ` Paul E. McKenney
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=87663566-ed67-fee8-4598-13591f2f072b@joelfernandes.org \
--to=joel@joelfernandes.org \
--cc=frederic@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neeraj.iitr10@gmail.com \
--cc=paulmck@kernel.org \
--cc=rcu@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=rushikesh.s.kadam@intel.com \
--cc=urezki@gmail.com \
/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®