Re: [PATCH] lockdep: Have assert functions test for actual interrupts disabled
From: Peter Zijlstra
Date: Thu Sep 06 2018 - 09:53:12 EST
On Wed, Sep 05, 2018 at 11:20:31AM -0400, Steven Rostedt wrote:
>
> Peter, you OK with this patch? I'm currently triggering a bug (in rc2)
> where this patch is telling me that lockdep is getting it wrong. It
> would be good to have this upstream such that we know if it is really a
> bug in the code itself, or if lockdep didn't keep up properly.
I thought we had something for that under CONFIG_DEBUG_LOCKDEP.
/me checks and finds:
kernel/locking/lockdep.c:check_flags()
Doesn't that work?