[PATCH v3] lib/spinlock_debug.c: prevent an infinite recursive cycle in spin_dump()
From: Byungchul Park
Date: Wed Jan 27 2016 - 00:45:40 EST
changes from v2 to v3
- avoid printk() only in case of lockup suspected, not real lockup in
which case it does not help at all.
- consider not only console_sem.lock but also logbuf_lock which is used
by printk().
changes from v1 to v2
- only change comment and commit message esp. replacing "deadlock" with
"infinite recursive cycle", since it is not an actual deadlock.
thanks,
byungchul
-----8<-----