Re: [PATCHv7 4/8] printk: always use deferred printk when flush printk_safe lines
From: Sergey Senozhatsky
Date: Mon Feb 06 2017 - 11:44:05 EST
On (02/06/17 08:27), Steven Rostedt wrote:
[..]
> > > > just in case, the patch (which I prefer to be ignored)
> > >
> > > let's keep printk_safe_flush_line().
> >
> > I do not have strong opinion but I would slightly prefer
> > to keep the helper function. The use of printk_deferred()
> > is a bit tricky and it is better to have only one copy.
> >
> > Steven, could you live with the original patch, please?
>
> Sure, but make it into a static inline.
well, I'll be surprised if gcc doesn't inline that simple one-liner.
attached. no conflicts, the patch can replace 0004.
===8<===8<===