Re: [RFC][PATCH] printk: Add option to append kernel version to the dict
From: Tejun Heo
Date: Tue May 17 2016 - 09:51:35 EST
On Tue, May 17, 2016 at 11:42:57PM +0900, Sergey Senozhatsky wrote:
> > > what if there is no place left for init_utsname() after
> > > msg_print_ext_header() + msg_print_ext_body()?
> >
> > It ends up being truncated, like either of the preceeding calls would.
>
> well, I meant once it's truncated your matching doesn't work anymore.
Given that most of the messages are written minding typical console
widths, whether for editing or outputting, I don't think that's a
practical concern. We're not talking about appending kilobytes worth
of additional information here.
Thanks.
--
tejun