[PATCH] defer/rcuusage: Fix spin_lock arg and write-side term

Kunwu Chan <[email protected]> Tue, 24 Feb 2026 15:53:14 +0800
Newsgroups org.kernel.vger.perfbook
Message-ID <[email protected]>
Signed-off-by: Kunwu Chan <[email protected]>
---
 defer/rcuusage.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/defer/rcuusage.tex b/defer/rcuusage.tex
index b5111043..6c960a00 100644
--- a/defer/rcuusage.tex
+++ b/defer/rcuusage.tex
@@ -1254,7 +1254,7 @@ rcu_read_lock();
 list_for_each_entry_rcu(p, &head, list_field) {
 	do_something_with(p);
 	if (need_update(p)) {
-		spin_lock(my_lock);
+		spin_lock(&my_lock);
 		do_update(p);
 		spin_unlock(&my_lock);
 	}
@@ -1583,7 +1583,7 @@ constraints:
 \begin{enumerate}
 \item	Write-side acquisitions wait for any read-holders to release
 	the lock.
-\item	Writer-side acquisitions wait for any write-holder to release
+\item	Write-side acquisitions wait for any write-holder to release
 	the lock.
 \item	Read-side acquisitions wait for any write-holder to release
 	the lock.
-- 
2.25.1