Re: [RFC][PATCH v6 0/2] printk: Make printk() completely async

2016-04-24 Thread Sergey Senozhatsky
On (04/24/16 15:35), Pavel Machek wrote: [..] > > > So... from basically linux 0.0, cli() printk("") could be used for > > > debugging. ... and that's now gone. Right? > > > > > > Can you explain why that is good idea? > > > > it's not gone. you need to explicitly enable async printk mode. the ca

Re: [RFC][PATCH v6 0/2] printk: Make printk() completely async

2016-04-24 Thread Pavel Machek
On Sun 2016-04-24 14:14:49, Sergey Senozhatsky wrote: > On (04/23/16 21:40), Pavel Machek wrote: > [..] > > > > The patch set is against next-20160321 > > > > > > > > the series in total has 3 patches: > > > > - printk: Make printk() completely async > > > > - printk: Make wake_up_klogd_work_func(

Re: [RFC][PATCH v6 0/2] printk: Make printk() completely async

2016-04-23 Thread Sergey Senozhatsky
On (04/23/16 21:40), Pavel Machek wrote: [..] > > > The patch set is against next-20160321 > > > > > > the series in total has 3 patches: > > > - printk: Make printk() completely async > > > - printk: Make wake_up_klogd_work_func() async > > > - printk: make console_unlock() async > > > > > > per

Re: [RFC][PATCH v6 0/2] printk: Make printk() completely async

2016-04-23 Thread Pavel Machek
On Tue 2016-03-22 07:49:48, Jan Kara wrote: > Hi, > > On Tue 22-03-16 02:25:28, Sergey Senozhatsky wrote: > > The patch set is based on slightly updated Jan Kara's patches. > > > > This patch set makes printk() completely asynchronous: new messages > > are getting upended to the kernel printk bu

Re: [RFC][PATCH v6 0/2] printk: Make printk() completely async

2016-03-22 Thread Jan Kara
On Tue 22-03-16 16:57:38, Sergey Senozhatsky wrote: > : hardlockup detector with sysctl_hardlockup_all_cpu_backtrace. > : > : static void watchdog_overflow_callback(...) > : { > : ... > : if (is_hardlockup()) { > : ... > : if (sysctl_hardlockup_all_cpu_backtr

Re: [RFC][PATCH v6 0/2] printk: Make printk() completely async

2016-03-22 Thread Sergey Senozhatsky
Hello Jan, On (03/22/16 07:49), Jan Kara wrote: > Hi, > > On Tue 22-03-16 02:25:28, Sergey Senozhatsky wrote: > > The patch set is based on slightly updated Jan Kara's patches. > > > > This patch set makes printk() completely asynchronous: new messages > > are getting upended to the kernel prin

Re: [RFC][PATCH v6 0/2] printk: Make printk() completely async

2016-03-21 Thread Jan Kara
Hi, On Tue 22-03-16 02:25:28, Sergey Senozhatsky wrote: > The patch set is based on slightly updated Jan Kara's patches. > > This patch set makes printk() completely asynchronous: new messages > are getting upended to the kernel printk buffer, but instead of 'direct' > printing the actual print