Re: newlines in message macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 14, 2023 at 07:12:04AM +0800, Zhu Yanjun wrote:
> 在 2023/9/14 4:50, Bob Pearson 写道:
> > Li,
> > 
> > I see that you removed the built-in newlines in the debug macros in rxe.h which is ok by me. But,
> 
> I made tests for many times about adding newline speeding up flush messages.
> With or without new line, I can not find out the difference on flushing
> messages. Not sure if Li Zhijian found this difference in a specific
> scenario or not.
> And even without new line, after output the line, the message still goes to
> a new line. I suspect if a newline is appended in the PRINTK
> subsystem.

Kernel standard is to have newlines in the format strings.

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux