[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130215111635.GA26955@gmail.com>
Date: Fri, 15 Feb 2013 12:16:35 +0100
From: Ingo Molnar <mingo@...nel.org>
To: Mandeep Singh Baines <msb@...omium.org>
Cc: linux-kernel@...r.kernel.org, Oleg Nesterov <oleg@...hat.com>,
Tejun Heo <tj@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
"Rafael J. Wysocki" <rjw@...k.pl>, Ingo Molnar <mingo@...hat.com>
Subject: Re: [PATCH 2/5] lockdep: check that no locks held at freeze time
* Mandeep Singh Baines <msb@...omium.org> wrote:
> --- a/kernel/lockdep.c
> +++ b/kernel/lockdep.c
> @@ -4091,10 +4091,10 @@ static void print_held_locks_bug(struct task_struct *curr)
> return;
>
> printk("\n");
> - printk("=====================================\n");
> - printk("[ BUG: lock held at task exit time! ]\n");
> + printk("=======================================\n");
> + printk("[ BUG: lock held at exit/freeze time! ]\n");
Looks good, but to make it more apparent which case triggers,
please pass in a 'msg' string that gets printed - and the msg is
either "exit" or "freeze", depending on from where it's called.
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists