Linux RCU subsystem development
 help / color / mirror / Atom feed
From: Joel Fernandes <joel@joelfernandes.org>
To: rcu@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
Subject: Re: [PATCH 1/5] rcu: Introduce call_rcu_lazy() API implementation
Date: Wed, 13 Jul 2022 21:39:30 +0000	[thread overview]
Message-ID: <Ys87ks05PD17dFz1@google.com> (raw)
In-Reply-To: <20220713213237.1596225-2-joel@joelfernandes.org>

On Wed, Jul 13, 2022 at 09:32:33PM +0000, Joel Fernandes (Google) wrote:

> + * Furthermore, if CPU A invoked call_rcu() and CPU B invoked the
> + * resulting RCU callback function "func()", then both CPU A and CPU B are
> + * guaranteed to execute a full memory barrier during the time interval
> + * between the call to call_rcu() and the invocation of "func()" -- even
> + * if CPU A and CPU B are the same CPU (but again only if the system has
> + * more than one CPU).
> + *
> + * Implementation of these memory-ordering guarantees is described here:
> + * Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.rst.
> + */
> +void call_rcu(struct rcu_head *head, rcu_callback_t func)
> +{
> +	return __call_rcu_common(head, func, force_call_rcu_to_lazy);
> +
> +}

I will kill that extra new line. LOL something always has to go wrong no
matter how many hours you spend making sure eveyrthing is good :) Luckily
cosmetic here.

thanks,

 - Joel


  reply	other threads:[~2022-07-13 21:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-13 21:32 [PATCH v3 0/5] Implement call_rcu_lazy() and miscellaneous fixes Joel Fernandes (Google)
2022-07-13 21:32 ` [PATCH 1/5] rcu: Introduce call_rcu_lazy() API implementation Joel Fernandes (Google)
2022-07-13 21:39   ` Joel Fernandes [this message]
2022-07-13 21:32 ` [PATCH 2/5] rcu: shrinker for lazy rcu Joel Fernandes (Google)
2022-07-13 21:32 ` [PATCH 3/5] rcuscale: Add laziness and kfree tests Joel Fernandes (Google)
2022-07-13 21:32 ` [PATCH 4/5] fs: Move call_rcu() to call_rcu_lazy() in some paths Joel Fernandes (Google)
2022-07-13 21:32 ` [PATCH 5/5] rcutorture: Add test code for call_rcu_lazy() Joel Fernandes (Google)
2022-07-14 20:51 ` [PATCH v3 0/5] Implement call_rcu_lazy() and miscellaneous fixes Paul E. McKenney
2022-07-14 21:33   ` Joel Fernandes
2022-07-14 22:21   ` Paul E. McKenney
2022-07-15 15:18     ` Joel Fernandes
2022-07-15 15:29       ` Paul E. McKenney
2022-07-15 15:40         ` Joel Fernandes
2022-07-15 15:50           ` Joel Fernandes
2022-07-15 17:17             ` Paul E. McKenney
2022-08-23 17:19   ` Joel Fernandes

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=Ys87ks05PD17dFz1@google.com \
    --to=joel@joelfernandes.org \
    --cc=frederic@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