On Tue, Nov 22, 2016 at 07:35:34PM +0300, Andrey Ryabinin wrote: > This one is wrong. We still can call vfree() from interrupt context. > So WARN_ON_ONCE(in_atomic() && !in_interrupt()) would be correct, > but also redundant. DEBUG_ATOMIC_SLEEP=y should catch illegal vfree() calls. > Let's just drop this patch, ok?
Ok, fine.