Messages in this thread | | | Date | Mon, 28 Apr 2014 15:36:42 -0400 | From | Steven Rostedt <> | Subject | Re: lockdep warning after recent cleanup in console code |
| |
On Mon, 28 Apr 2014 21:24:16 +0200 Jan Kara <jack@suse.cz> wrote:
> So I had a look and we are missing mutex_release() in > console_trylock_for_printk() if we don't have a console to print to. > Attached patch should fix the problem. >
Note, your patch changes the logic a bit. It causes the mutex_acquire(&console_lock_dep_map) to happen on console_suspend, which the original code never did.
-- Steve
| |