[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120210154453.GA3150@redhat.com>
Date: Fri, 10 Feb 2012 10:44:53 -0500
From: Vivek Goyal <vgoyal@...hat.com>
To: Matthew Garrett <mjg@...hat.com>
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
dzickus@...hat.com, seiji.aguchi@....com
Subject: Re: [PATCH] kmsg_dump: Don't run on non-error paths by default
On Fri, Feb 10, 2012 at 10:11:33AM -0500, Matthew Garrett wrote:
[..]
> static int have_callable_console(void)
> {
> @@ -1732,6 +1735,9 @@ void kmsg_dump(enum kmsg_dump_reason reason)
> unsigned long l1, l2;
> unsigned long flags;
>
> + if (reason > KMSG_DUMP_PANIC && !always_kmsg_dump)
> + return;
> +
reason > KMSG_DUMP_OOPS?
Thanks
Vivek
--
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