From a5969cabbb4660eab42b6ef0412cbbd1200cf14d Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 12 Oct 2024 07:10:09 +0000 Subject: [PATCH] 修改led为gpio --- kernel/Documentation/RCU/whatisRCU.rst | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/Documentation/RCU/whatisRCU.rst b/kernel/Documentation/RCU/whatisRCU.rst index 3b2b147..fb3ff76 100644 --- a/kernel/Documentation/RCU/whatisRCU.rst +++ b/kernel/Documentation/RCU/whatisRCU.rst @@ -684,7 +684,7 @@ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This section presents a "toy" RCU implementation that is based on "classic RCU". It is also short on performance (but only for updates) and -on features such as hotplug CPU and the ability to run in CONFIG_PREEMPTION +on features such as hotplug CPU and the ability to run in CONFIG_PREEMPT kernels. The definitions of rcu_dereference() and rcu_assign_pointer() are the same as those shown in the preceding section, so they are omitted. :: @@ -740,7 +740,7 @@ Quick Quiz #3: If it is illegal to block in an RCU read-side critical section, what the heck do you do in - CONFIG_PREEMPT_RT, where normal spinlocks can block??? + PREEMPT_RT, where normal spinlocks can block??? :ref:`Answers to Quick Quiz <8_whatisRCU>` @@ -1094,7 +1094,7 @@ overhead is **negative**. Answer: - Imagine a single-CPU system with a non-CONFIG_PREEMPTION + Imagine a single-CPU system with a non-CONFIG_PREEMPT kernel where a routing table is used by process-context code, but can be updated by irq-context code (for example, by an "ICMP REDIRECT" packet). The usual way of handling @@ -1121,10 +1121,10 @@ Quick Quiz #3: If it is illegal to block in an RCU read-side critical section, what the heck do you do in - CONFIG_PREEMPT_RT, where normal spinlocks can block??? + PREEMPT_RT, where normal spinlocks can block??? Answer: - Just as CONFIG_PREEMPT_RT permits preemption of spinlock + Just as PREEMPT_RT permits preemption of spinlock critical sections, it permits preemption of RCU read-side critical sections. It also permits spinlocks blocking while in RCU read-side critical -- Gitblit v1.6.2