[RFC][PATCH] printk: add boot_quiet param to support deferred printk while booting

2012-11-22 Thread Barry Song
"quiet" boot param can make system boot faster without printk time. but many embedded systems want default loglevel as a always online diganostic, and it stills want a fast boot procedure without losing printk. for example, for rearview and some other urgent scenerios, we want kernel boot more qui

RE: [RFC][PATCH] printk: add boot_quiet param to support deferred printk while booting

2012-11-22 Thread Barry Song
g; > linux-arm-ker...@lists.infradead.org > Subject: Re: [RFC][PATCH] printk: add boot_quiet param to support deferred > printk while booting > > Hi Barry, > > On Fri, Nov 23, 2012 at 10:50:22AM +0800, Barry Song wrote: > > [...] > > > diff --git a/kernel/

Re: [RFC][PATCH] printk: add boot_quiet param to support deferred printk while booting

2012-11-22 Thread Baruch Siach
Hi Barry, On Fri, Nov 23, 2012 at 10:50:22AM +0800, Barry Song wrote: [...] > diff --git a/kernel/printk.c b/kernel/printk.c > index 2d607f4..0b88d6bf 100644 > --- a/kernel/printk.c > +++ b/kernel/printk.c > @@ -250,6 +250,9 @@ static u32 clear_idx; > #define LOG_ALIGN __alignof__(struct log) >