Re: [PATCH v4 09/27] rcu: Rename rcu_irq_{enter,exit}_irqson()

Steven Rostedt
2020-02-21T20:21:57Z

On Fri, 21 Feb 2020 14:34:25 +0100
Peter Zijlstra <peterz@infradead.org> wrote:

> --- a/kernel/rcu/tree.c
> +++ b/kernel/rcu/tree.c
> @@ -699,10 +699,10 @@ void rcu_irq_exit(void)
> /*
> * Wrapper for rcu_irq_exit() where interrupts are enabled.

where interrupts may be enabled.

> *
> - * If you add or remove a call to rcu_irq_exit_irqson(), be sure to test
> + * If you add or remove a call to rcu_irq_exit_irqsave(), be sure to test
> * with CONFIG_RCU_EQS_DEBUG=y.
> */
> -void rcu_irq_exit_irqson(void)
> +void rcu_irq_exit_irqsave(void)
> {
> unsigned long flags;
>
> @@ -875,10 +875,10 @@ void rcu_irq_enter(void)
> /*
> * Wrapper for rcu_irq_enter() where interrupts are enabled.

where interrupts may be enabled.

-- Steve

> *
> - * If you add or remove a call to rcu_irq_enter_irqson(), be sure to test
> + * If you add or remove a call to rcu_irq_enter_irqsave(), be sure to test
> * with CONFIG_RCU_EQS_DEBUG=y.
> */
> -void rcu_irq_enter_irqson(void)
> +void rcu_irq_enter_irqsave(void)
> {
> unsigned long flags;
>