Messages in this thread | | | Date | Thu, 28 Sep 2017 21:50:29 +0800 | From | Boqun Feng <> | Subject | Re: [PATCH] lockdep: Print proper scenario if cross deadlock detected at acquisition time |
| |
On Wed, Sep 27, 2017 at 01:31:45AM +0000, Byungchul Park wrote: > > Sometimes, it gives a wrong scenario. For example: > > lock target > lock source > lock parent > lock target > lock parent of parent > lock parent > > lock parent of parent > unlock source > > We should consider this scenario as well so the report is always true > generally. >
Right, let me think about a proper way to do this.
Regards, Boqun
> > + printk(KERN_CONT ");\n"); > > + printk("\n *** DEADLOCK ***\n\n"); > > } else { > > printk(" Possible unsafe locking scenario:\n\n"); > > printk(" CPU0 CPU1\n"); > > -- > > 2.14.1 [unhandled content-type:application/pgp-signature] | |