@@ -1844,10 +1844,10 @@ that meets this requirement.
18441844
18451845Furthermore, NMI handlers can be interrupted by what appear to RCU to be
18461846normal interrupts. One way that this can happen is for code that
1847- directly invokes rcu_irq_enter () and rcu_irq_exit () to be called
1847+ directly invokes ct_irq_enter () and ct_irq_exit () to be called
18481848from an NMI handler. This astonishing fact of life prompted the current
1849- code structure, which has rcu_irq_enter () invoking
1850- rcu_nmi_enter () and rcu_irq_exit () invoking rcu_nmi_exit ().
1849+ code structure, which has ct_irq_enter () invoking
1850+ ct_nmi_enter () and ct_irq_exit () invoking ct_nmi_exit ().
18511851And yes, I also learned of this requirement the hard way.
18521852
18531853Loadable Modules
@@ -2195,7 +2195,7 @@ scheduling-clock interrupt be enabled when RCU needs it to be:
21952195 sections, and RCU believes this CPU to be idle, no problem. This
21962196 sort of thing is used by some architectures for light-weight
21972197 exception handlers, which can then avoid the overhead of
2198- rcu_irq_enter () and rcu_irq_exit () at exception entry and
2198+ ct_irq_enter () and ct_irq_exit () at exception entry and
21992199 exit, respectively. Some go further and avoid the entireties of
22002200 irq_enter() and irq_exit().
22012201 Just make very sure you are running some of your tests with
@@ -2226,7 +2226,7 @@ scheduling-clock interrupt be enabled when RCU needs it to be:
22262226+-----------------------------------------------------------------------+
22272227| **Answer **: |
22282228+-----------------------------------------------------------------------+
2229- | One approach is to do ``rcu_irq_exit ();rcu_irq_enter (); `` every so |
2229+ | One approach is to do ``ct_irq_exit ();ct_irq_enter (); `` every so |
22302230| often. But given that long-running interrupt handlers can cause other |
22312231| problems, not least for response time, shouldn't you work to keep |
22322232| your interrupt handler's runtime within reasonable bounds? |
0 commit comments