Re: [PATCH v13 05/17] irq & spin_lock: Add counted interrupt disabling/enabling

Andreas Hindborg
2025-11-04T12:45:35Z

Hi Lyude,

Lyude Paul <lyude@redhat.com> writes:

> From: Boqun Feng <boqun.feng@gmail.com>

<cut>

> diff --git a/include/linux/irqflags_types.h b/include/linux/irqflags_types.h
> index c13f0d915097a..277433f7f53eb 100644
> --- a/include/linux/irqflags_types.h
> +++ b/include/linux/irqflags_types.h
> @@ -19,4 +19,10 @@ struct irqtrace_events {
>
> #endif
>
> +/* Per-cpu interrupt disabling state for local_interrupt_{disable,enable}() */
> +struct interrupt_disable_state {
> + unsigned long flags;
> + long count;

Is this `count` field dead?

> +};
> +

Best regards,
Andreas Hindborg