Messages in this thread | | | Date | Wed, 29 Mar 2023 13:51:23 +0200 | From | Paolo Bonzini <> | Subject | Re: [PATCH v3] KVM: VMX: fix lockdep warning on posted intr wakeup |
| |
On 3/29/23 03:53, Yan Zhao wrote: > Yes, there's no actual deadlock currently. > > But without fixing this issue, debug_locks will be set to false along > with below messages printed. Then lockdep will be turned off and any > other lock detections like lockdep_assert_held()... will not print > warning even when it's obviously violated.
Can you use lockdep subclasses, giving 0 to the sched_in path and 1 to the sched_out path?
Paolo
| |