[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPXgP1255L5ok7Fw-sBwdxkEQ1sixLp403BGq-tPwCw+oVCiDQ@mail.gmail.com>
Date: Fri, 28 Sep 2012 04:28:18 +0200
From: Kay Sievers <kay@...y.org>
To: Jan H. Schönherr <schnhrr@...tu-berlin.de>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] printk: drop ambiguous LOG_CONT flag
On Thu, Sep 27, 2012 at 5:46 PM, "Jan H. Schönherr"
<schnhrr@...tu-berlin.de> wrote:
> Am 27.09.2012 15:39, schrieb Kay Sievers:
>> It is a flag that we have not been able to merge a continuation line
>> in the buffer, because we had a race with another thread, or the
>> console lock was taken for a long time and we couldn't use the merge
>> buffer.
>
> But it is also set, if we don't know yet, whether there is going to
> be a continuation (printk.c, line 1583):
>
> log_store(facility, level, lflags | LOG_CONT, 0,
> dict, dictlen, text, text_len);
>
> This confuses devkmsg_read() and msg_print_text() later on.
Yeah, I can see that here too. Tested your patch and seems to behave
well with a bunch of other tests I still have available. Looks good
and worth to try:
Tested-By: Kay Sievers <kay@...y.org>
Thanks,
Kay
--
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