<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/Documentation/RCU/Design/Data-Structures, branch v6.19.11</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.19.11</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.19.11'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2025-07-22T11:40:31+00:00</updated>
<entry>
<title>rcu: Document separation of rcu_state and rnp's gp_seq</title>
<updated>2025-07-22T11:40:31+00:00</updated>
<author>
<name>Joel Fernandes</name>
<email>joelagnelf@nvidia.com</email>
</author>
<published>2025-07-15T20:01:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=186779c036468038b0d077ec5333a51512f867e5'/>
<id>urn:sha1:186779c036468038b0d077ec5333a51512f867e5</id>
<content type='text'>
The details of this are subtle and was discussed recently. Add a
quick-quiz about this and refer to it from the code, for more clarity.

Reviewed-by: "Paul E. McKenney" &lt;paulmck@kernel.org&gt;
Signed-off-by: Joel Fernandes &lt;joelagnelf@nvidia.com&gt;
Signed-off-by: Neeraj Upadhyay (AMD) &lt;neeraj.upadhyay@kernel.org&gt;
</content>
</entry>
<entry>
<title>rcu: Rename struct rcu_data .dynticks_snap into .watching_snap</title>
<updated>2024-08-15T16:00:42+00:00</updated>
<author>
<name>Valentin Schneider</name>
<email>vschneid@redhat.com</email>
</author>
<published>2024-04-29T12:05:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2dba2230f9e26ad492fcd70e9ef2edc28313ea50'/>
<id>urn:sha1:2dba2230f9e26ad492fcd70e9ef2edc28313ea50</id>
<content type='text'>
The context_tracking.state RCU_DYNTICKS subvariable has been renamed to
RCU_WATCHING, and the snapshot helpers are now prefix by
"rcu_watching". Reflect that change into the storage variables for these
snapshots.

Signed-off-by: Valentin Schneider &lt;vschneid@redhat.com&gt;
Reviewed-by: Frederic Weisbecker &lt;frederic@kernel.org&gt;
Signed-off-by: Neeraj Upadhyay &lt;neeraj.upadhyay@kernel.org&gt;
</content>
</entry>
<entry>
<title>context_tracking, rcu: Rename struct context_tracking .dynticks_nmi_nesting into .nmi_nesting</title>
<updated>2024-08-11T05:41:10+00:00</updated>
<author>
<name>Valentin Schneider</name>
<email>vschneid@redhat.com</email>
</author>
<published>2024-04-16T08:52:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=dc5fface4b30508933b515a4985401c8c8f6bcfd'/>
<id>urn:sha1:dc5fface4b30508933b515a4985401c8c8f6bcfd</id>
<content type='text'>
The context_tracking.state RCU_DYNTICKS subvariable has been renamed to
RCU_WATCHING, and the 'dynticks' prefix can be dropped without losing any
meaning.

[ neeraj.upadhyay: Fix htmldocs build error reported by Stephen Rothwell ]

Suggested-by: Frederic Weisbecker &lt;frederic@kernel.org&gt;
Signed-off-by: Valentin Schneider &lt;vschneid@redhat.com&gt;
Reviewed-by: Frederic Weisbecker &lt;frederic@kernel.org&gt;
Signed-off-by: Neeraj Upadhyay &lt;neeraj.upadhyay@kernel.org&gt;
</content>
</entry>
<entry>
<title>context_tracking, rcu: Rename struct context_tracking .dynticks_nesting into .nesting</title>
<updated>2024-08-11T05:35:09+00:00</updated>
<author>
<name>Valentin Schneider</name>
<email>vschneid@redhat.com</email>
</author>
<published>2024-04-16T08:51:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bf66471987b4bd537bc800353ca7d39bfd1d1022'/>
<id>urn:sha1:bf66471987b4bd537bc800353ca7d39bfd1d1022</id>
<content type='text'>
The context_tracking.state RCU_DYNTICKS subvariable has been renamed to
RCU_WATCHING, reflect that change in the related helpers.

[ neeraj.upadhyay: Fix htmldocs build error reported by Stephen Rothwell ]

Suggested-by: Frederic Weisbecker &lt;frederic@kernel.org&gt;
Signed-off-by: Valentin Schneider &lt;vschneid@redhat.com&gt;
Reviewed-by: Frederic Weisbecker &lt;frederic@kernel.org&gt;
Signed-off-by: Neeraj Upadhyay &lt;neeraj.upadhyay@kernel.org&gt;
</content>
</entry>
<entry>
<title>docs: Update RCU cross-references as suggested in doc-guide</title>
<updated>2022-04-20T23:13:52+00:00</updated>
<author>
<name>Akira Yokosawa</name>
<email>akiyks@gmail.com</email>
</author>
<published>2022-03-30T14:41:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=404147faaaf28319ba8e60392ba9d4f3b6055ad5'/>
<id>urn:sha1:404147faaaf28319ba8e60392ba9d4f3b6055ad5</id>
<content type='text'>
The RCU documentation contains old-style cross references which
do not follow the best practices outlined in doc-guide/sphinx.rst.
In addition, some of the cross references use URLs that should be replaced
by pathnames.

Update all of these cross references and adjust the surrounding words.

Summary of changes:

  - out-of-date plaintext file names (*.txt) -&gt; *.rst
  - references by :ref: tags -&gt; path names of *.rst
    * use relative paths to .rst files under the RCU/ subdirectory
    * use abs paths of Documentation/xxx for other .rst files
  - references by URL under https://www.kernel.org/ -&gt; paths of *.rst
  - adjust surrounding words of some of updated references.

Note:
  The automarkup.py script interprets references via "*.txt" as if they
were via "*.rst", so the *.txt -&gt; *.rst changes should be regarded as
cleanups rather than bug fixes.

Cc: rcu@vger.kernel.org
Cc: linux-doc@vger.kernel.org
Tested-by: Bagas Sanjaya &lt;bagasdotme@gmail.com&gt;
Reviewed-by: Steven Rostedt (Google) &lt;rostedt@goodmis.org&gt;
Signed-off-by: Akira Yokosawa &lt;akiyks@gmail.com&gt;
Signed-off-by: Paul E. McKenney &lt;paulmck@kernel.org&gt;
</content>
</entry>
<entry>
<title>doc: Drop doubled words from RCU Data-Structures.rst</title>
<updated>2020-08-24T21:29:17+00:00</updated>
<author>
<name>Randy Dunlap</name>
<email>rdunlap@infradead.org</email>
</author>
<published>2020-07-03T21:33:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1b98b7c5eb2f94eddad541d6fc91f1d1995d644b'/>
<id>urn:sha1:1b98b7c5eb2f94eddad541d6fc91f1d1995d644b</id>
<content type='text'>
Drop the doubled word "the".

Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Cc: Jonathan Corbet &lt;corbet@lwn.net&gt;
Cc: linux-doc@vger.kernel.org
Cc: "Paul E. McKenney" &lt;paulmck@kernel.org&gt;
Cc: Josh Triplett &lt;josh@joshtriplett.org&gt;
Cc: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Cc: Mathieu Desnoyers &lt;mathieu.desnoyers@efficios.com&gt;
Cc: Lai Jiangshan &lt;jiangshanlai@gmail.com&gt;
Cc: Joel Fernandes &lt;joel@joelfernandes.org&gt;
Cc: rcu@vger.kernel.org
Signed-off-by: Paul E. McKenney &lt;paulmck@kernel.org&gt;
</content>
</entry>
<entry>
<title>docs: rcu: convert some articles from html to ReST</title>
<updated>2019-10-29T09:48:12+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab+samsung@kernel.org</email>
</author>
<published>2019-08-01T21:39:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ccc9971e2147225cb2d25e5543d6757988dd0a1d'/>
<id>urn:sha1:ccc9971e2147225cb2d25e5543d6757988dd0a1d</id>
<content type='text'>
There are 4 RCU articles that are written on html format.

The way they are, they can't be part of the Linux Kernel
documentation body nor share the styles and pdf output.

So, convert them to ReST format.

This way, make htmldocs and make pdfdocs will produce a
documentation output that will be like the original ones, but
will be part of the Linux Kernel documentation body.

Part of the conversion was done with the help of pandoc, but
the result had some broken things that had to be manually
fixed.

Following are manual changes Mauro made when doing the automatic conversion:
Quoting from: https://lore.kernel.org/rcu/20190726154550.5eeae294@coco.lan/

&gt; &gt; At least the pandoc's version I used here has a bug: its conversion
&gt; &gt; from html to ReST on those files only start after a &lt;body&gt; tag - or
&gt; &gt; when the first quiz table starts. I only discovered that adding a
&gt; &gt; &lt;body&gt; at the beginning of the file solve this book at the last
&gt; &gt; conversions.
&gt; &gt;
&gt; &gt; So, for most html-&gt;ReST conversions, I manually converted the first
&gt; &gt; part of the document, basically stripping html paragraph tags and
&gt; &gt; by replacing highlights by the ReST syntax.
&gt; &gt;
&gt; &gt; Also, all the quiz tables seem to assume some javascript macro or
&gt; &gt; css style that would be hiding the answer part until the mouse moves
&gt; &gt; to it. Such macro/css was not there at the kernel tree. So, the quiz
&gt; &gt; answers have the same color as the background, making them invisible.
&gt; &gt; Even if we had such macro/css, this is not portable for pdf/LaTeX output
&gt; &gt; (and I'm not sure if this would work with ePub).
&gt; &gt;
&gt; &gt; So, I ended by manually doing the table conversion.
&gt; &gt;
&gt; &gt; Finally, I double-checked if the conversions ended ok, addressing any
&gt; &gt; issues that might have heppened.
&gt; &gt;
&gt; &gt; So, after both automatic conversion and manual fixes, I opened both the
&gt; &gt; html files produced by Sphinx and the original ones and compared them
&gt; &gt; line per line (except for the indexes, as Sphinx produces them
&gt; &gt; automatically), in order to see if all information from the original
&gt; &gt; files will be there on a format close to what we have on other ReST
&gt; &gt; files, fixing any pending issues if any.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
Signed-off-by: Paul E. McKenney &lt;paulmck@kernel.org&gt;
</content>
</entry>
<entry>
<title>doc: Remove obsolete RCU update functions from RCU documentation</title>
<updated>2019-03-26T21:37:06+00:00</updated>
<author>
<name>Paul E. McKenney</name>
<email>paulmck@linux.ibm.com</email>
</author>
<published>2019-01-09T22:48:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4fea6ef0b219d66b8a901fea1744745a1ed2f79b'/>
<id>urn:sha1:4fea6ef0b219d66b8a901fea1744745a1ed2f79b</id>
<content type='text'>
Now that synchronize_rcu_bh, synchronize_rcu_bh_expedited, call_rcu_bh,
rcu_barrier_bh, synchronize_sched, synchronize_sched_expedited,
call_rcu_sched, rcu_barrier_sched, get_state_synchronize_sched,
and cond_synchronize_sched are obsolete, let's remove them from the
documentation aside from a small historical section.

Signed-off-by: Paul E. McKenney &lt;paulmck@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>doc: rcu: Update description of gp_seq fields in rcu_data</title>
<updated>2018-11-12T16:56:25+00:00</updated>
<author>
<name>Joel Fernandes (Google)</name>
<email>joel@joelfernandes.org</email>
</author>
<published>2018-09-25T18:26:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=70f0508caba2ccb564337e7a2ac4816b094abc00'/>
<id>urn:sha1:70f0508caba2ccb564337e7a2ac4816b094abc00</id>
<content type='text'>
The rcu_state structure doesn't have a gp_seq_needed field. Update the
description under rcu_data accordingly, to reflect this.

Signed-off-by: Joel Fernandes (Google) &lt;joel@joelfernandes.org&gt;
Cc: &lt;kernel-team@android.com&gt;
Signed-off-by: Paul E. McKenney &lt;paulmck@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>doc: rcu: Better clarify the rcu_segcblist -&gt;len field</title>
<updated>2018-11-12T16:56:25+00:00</updated>
<author>
<name>Joel Fernandes (Google)</name>
<email>joel@joelfernandes.org</email>
</author>
<published>2018-09-25T18:26:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=82eccec851478e55bfd398d7e9d03300026fc4a9'/>
<id>urn:sha1:82eccec851478e55bfd398d7e9d03300026fc4a9</id>
<content type='text'>
An important note under the rcu_segcblist description could use a more
detailed description. Especially explanation of the scenario where the
-&gt;head field may be temporarily NULL making it not wise to rely on it
to determine if callbacks are associated with the rcu_segcblist.

Signed-off-by: Joel Fernandes (Google) &lt;joel@joelfernandes.org&gt;
Cc: &lt;kernel-team@android.com&gt;
Signed-off-by: Paul E. McKenney &lt;paulmck@linux.ibm.com&gt;
</content>
</entry>
</feed>
