Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
softirq: Avoid bad tracing / lockdep interaction
Similar to commit: 1a63dcd ("softirq: Reorder trace_softirqs_on to prevent lockdep splat") __local_bh_enable_ip() can also call into tracing with inconsistent state. Unlike that commit we don't need to bother about the tracepoint because 'cnt-1' never matches preempt_count() (by construction). Reported-by: Heiko Carstens <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Tested-by: Heiko Carstens <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
- Loading branch information