Re: [PATCH v13 05/17] irq & spin_lock: Add counted interrupt disabling/enabling
From: Andreas Hindborg
Date: Tue Nov 04 2025 - 07:45:48 EST
Hi Lyude,
Lyude Paul <lyude@xxxxxxxxxx> writes:
> From: Boqun Feng <boqun.feng@xxxxxxxxx>
<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