linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] docs/rcu: update the api of call_rcu()
       [not found] <20201015141334.GA20723@rlk>
@ 2020-10-15 17:38 ` Paul E. McKenney
  0 siblings, 0 replies; only message in thread
From: Paul E. McKenney @ 2020-10-15 17:38 UTC (permalink / raw)
  To: Hui Su
  Cc: josh, rostedt, mathieu.desnoyers, jiangshanlai, joel, corbet,
	rcu, linux-doc, linux-kernel

On Thu, Oct 15, 2020 at 10:13:34PM +0800, Hui Su wrote:
> update the api of call_rcu()
> 
> Signed-off-by: Hui Su <sh_def@163.com>

Good point, the typedef is more compact.  Queued, thank you!

							Thanx, Paul

> ---
>  Documentation/RCU/whatisRCU.rst | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/Documentation/RCU/whatisRCU.rst b/Documentation/RCU/whatisRCU.rst
> index c7f147b8034f..aa7d5ed20da5 100644
> --- a/Documentation/RCU/whatisRCU.rst
> +++ b/Documentation/RCU/whatisRCU.rst
> @@ -497,8 +497,7 @@ long -- there might be other high-priority work to be done.
>  In such cases, one uses call_rcu() rather than synchronize_rcu().
>  The call_rcu() API is as follows::
>  
> -	void call_rcu(struct rcu_head * head,
> -		      void (*func)(struct rcu_head *head));
> +	void call_rcu(struct rcu_head *head, rcu_callback_t func);
>  
>  This function invokes func(head) after a grace period has elapsed.
>  This invocation might happen from either softirq or process context,
> -- 
> 2.25.1
> 
> 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-15 17:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20201015141334.GA20723@rlk>
2020-10-15 17:38 ` [PATCH] docs/rcu: update the api of call_rcu() Paul E. McKenney

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).