Lockdep has worked this way for some time, and complaints have been scarce. But, as can be seen from the patch cited above, "scarce" is not the same as "nonexistent."
Also note that complaints about bugs introduced, or hidden, by lockdep forcibly setting IRQF_DISABLED have been disregarded. There are examples of both problem categories ... and that's in addition to the workaround cited in that patch fragment.
Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds