lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <160788607120.3364.15958072665237755984.tip-bot2@tip-bot2>
Date:   Sun, 13 Dec 2020 19:01:11 -0000
From:   "tip-bot2 for Hui Su" <tip-bot2@...utronix.de>
To:     linux-tip-commits@...r.kernel.org
Cc:     Hui Su <sh_def@....com>, "Paul E. McKenney" <paulmck@...nel.org>,
        x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [tip: core/rcu] docs/rcu: Update the call_rcu() API

The following commit has been merged into the core/rcu branch of tip:

Commit-ID:     c386e29d43728778ddd642fa73cc582bee684171
Gitweb:        https://git.kernel.org/tip/c386e29d43728778ddd642fa73cc582bee684171
Author:        Hui Su <sh_def@....com>
AuthorDate:    Thu, 15 Oct 2020 22:13:34 +08:00
Committer:     Paul E. McKenney <paulmck@...nel.org>
CommitterDate: Fri, 06 Nov 2020 17:02:43 -08:00

docs/rcu: Update the call_rcu() API

This commit updates the documented API of call_rcu() to use the
rcu_callback_t typedef instead of the open-coded function definition.

Signed-off-by: Hui Su <sh_def@....com>
Signed-off-by: Paul E. McKenney <paulmck@...nel.org>
---
 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 fb3ff76..1a4723f 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,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ