Messages in this thread | | | Date | Thu, 22 Sep 2022 08:40:19 -0400 | From | Steven Rostedt <> | Subject | Re: [PATCH 2/2] tracing: Use proper do_arch_spin_lock() API |
| |
On Thu, 22 Sep 2022 09:55:29 +0200 Peter Zijlstra <peterz@infradead.org> wrote:
> > Nothing here is needed, as interrupts had better be disabled when this > > function is called. And there's already a: > > > > WARN_ON_ONCE(!irqs_disabled()); > > You can write that as lockdep_assert_irqs_disabled();
Of course we can ;-) But this was written before that existed.
-- Steve
| |