hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/Documentation/RCU/whatisRCU.rst
....@@ -684,7 +684,7 @@
684684 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
685685 This section presents a "toy" RCU implementation that is based on
686686 "classic RCU". It is also short on performance (but only for updates) and
687
-on features such as hotplug CPU and the ability to run in CONFIG_PREEMPTION
687
+on features such as hotplug CPU and the ability to run in CONFIG_PREEMPT
688688 kernels. The definitions of rcu_dereference() and rcu_assign_pointer()
689689 are the same as those shown in the preceding section, so they are omitted.
690690 ::
....@@ -740,7 +740,7 @@
740740 Quick Quiz #3:
741741 If it is illegal to block in an RCU read-side
742742 critical section, what the heck do you do in
743
- CONFIG_PREEMPT_RT, where normal spinlocks can block???
743
+ PREEMPT_RT, where normal spinlocks can block???
744744
745745 :ref:`Answers to Quick Quiz <8_whatisRCU>`
746746
....@@ -1094,7 +1094,7 @@
10941094 overhead is **negative**.
10951095
10961096 Answer:
1097
- Imagine a single-CPU system with a non-CONFIG_PREEMPTION
1097
+ Imagine a single-CPU system with a non-CONFIG_PREEMPT
10981098 kernel where a routing table is used by process-context
10991099 code, but can be updated by irq-context code (for example,
11001100 by an "ICMP REDIRECT" packet). The usual way of handling
....@@ -1121,10 +1121,10 @@
11211121 Quick Quiz #3:
11221122 If it is illegal to block in an RCU read-side
11231123 critical section, what the heck do you do in
1124
- CONFIG_PREEMPT_RT, where normal spinlocks can block???
1124
+ PREEMPT_RT, where normal spinlocks can block???
11251125
11261126 Answer:
1127
- Just as CONFIG_PREEMPT_RT permits preemption of spinlock
1127
+ Just as PREEMPT_RT permits preemption of spinlock
11281128 critical sections, it permits preemption of RCU
11291129 read-side critical sections. It also permits
11301130 spinlocks blocking while in RCU read-side critical