Re: [RFC][PATCH 0/7] printk: use alt_printk to handle printk() recursive calls

2016-10-04 Thread Petr Mladek
On Sat 2016-10-01 12:02:51, Sergey Senozhatsky wrote: > On (09/30/16 13:27), Petr Mladek wrote: > > > > > This patch set extends a lock-less NMI per-cpu buffers idea to > > > > > handle recursive printk() calls. The basic mechanism is pretty much > > > > > the > > > > > same -- at the

Re: [RFC][PATCH 0/7] printk: use alt_printk to handle printk() recursive calls

2016-10-04 Thread Petr Mladek
On Sat 2016-10-01 12:02:51, Sergey Senozhatsky wrote: > On (09/30/16 13:27), Petr Mladek wrote: > > > > > This patch set extends a lock-less NMI per-cpu buffers idea to > > > > > handle recursive printk() calls. The basic mechanism is pretty much > > > > > the > > > > > same -- at the

Re: [RFC][PATCH 0/7] printk: use alt_printk to handle printk() recursive calls

2016-09-30 Thread Sergey Senozhatsky
On (09/30/16 13:27), Petr Mladek wrote: > > > > This patch set extends a lock-less NMI per-cpu buffers idea to > > > > handle recursive printk() calls. The basic mechanism is pretty much the > > > > same -- at the beginning of a deadlock-prone section we switch to > > > > lock-less > > >

Re: [RFC][PATCH 0/7] printk: use alt_printk to handle printk() recursive calls

2016-09-30 Thread Sergey Senozhatsky
On (09/30/16 13:27), Petr Mladek wrote: > > > > This patch set extends a lock-less NMI per-cpu buffers idea to > > > > handle recursive printk() calls. The basic mechanism is pretty much the > > > > same -- at the beginning of a deadlock-prone section we switch to > > > > lock-less > > >

Re: [RFC][PATCH 0/7] printk: use alt_printk to handle printk() recursive calls

2016-09-30 Thread Petr Mladek
On Fri 2016-09-30 11:43:07, Sergey Senozhatsky wrote: > On (09/29/16 15:25), Petr Mladek wrote: > > On Tue 2016-09-27 23:22:30, Sergey Senozhatsky wrote: > > > Hello, > > > > > > RFC > > > > > > This patch set extends a lock-less NMI per-cpu buffers idea to > > > handle recursive printk()

Re: [RFC][PATCH 0/7] printk: use alt_printk to handle printk() recursive calls

2016-09-30 Thread Petr Mladek
On Fri 2016-09-30 11:43:07, Sergey Senozhatsky wrote: > On (09/29/16 15:25), Petr Mladek wrote: > > On Tue 2016-09-27 23:22:30, Sergey Senozhatsky wrote: > > > Hello, > > > > > > RFC > > > > > > This patch set extends a lock-less NMI per-cpu buffers idea to > > > handle recursive printk()

Re: [RFC][PATCH 0/7] printk: use alt_printk to handle printk() recursive calls

2016-09-29 Thread Sergey Senozhatsky
On (09/29/16 15:25), Petr Mladek wrote: > On Tue 2016-09-27 23:22:30, Sergey Senozhatsky wrote: > > Hello, > > > > RFC > > > > This patch set extends a lock-less NMI per-cpu buffers idea to > > handle recursive printk() calls. The basic mechanism is pretty much the > > same -- at the

Re: [RFC][PATCH 0/7] printk: use alt_printk to handle printk() recursive calls

2016-09-29 Thread Sergey Senozhatsky
On (09/29/16 15:25), Petr Mladek wrote: > On Tue 2016-09-27 23:22:30, Sergey Senozhatsky wrote: > > Hello, > > > > RFC > > > > This patch set extends a lock-less NMI per-cpu buffers idea to > > handle recursive printk() calls. The basic mechanism is pretty much the > > same -- at the

Re: [RFC][PATCH 0/7] printk: use alt_printk to handle printk() recursive calls

2016-09-29 Thread Petr Mladek
On Tue 2016-09-27 23:22:30, Sergey Senozhatsky wrote: > Hello, > > RFC > > This patch set extends a lock-less NMI per-cpu buffers idea to > handle recursive printk() calls. The basic mechanism is pretty much the > same -- at the beginning of a deadlock-prone section we switch

Re: [RFC][PATCH 0/7] printk: use alt_printk to handle printk() recursive calls

2016-09-29 Thread Petr Mladek
On Tue 2016-09-27 23:22:30, Sergey Senozhatsky wrote: > Hello, > > RFC > > This patch set extends a lock-less NMI per-cpu buffers idea to > handle recursive printk() calls. The basic mechanism is pretty much the > same -- at the beginning of a deadlock-prone section we switch

[RFC][PATCH 0/7] printk: use alt_printk to handle printk() recursive calls

2016-09-27 Thread Sergey Senozhatsky
Hello, RFC This patch set extends a lock-less NMI per-cpu buffers idea to handle recursive printk() calls. The basic mechanism is pretty much the same -- at the beginning of a deadlock-prone section we switch to lock-less printk callback, and return back to a default

[RFC][PATCH 0/7] printk: use alt_printk to handle printk() recursive calls

2016-09-27 Thread Sergey Senozhatsky
Hello, RFC This patch set extends a lock-less NMI per-cpu buffers idea to handle recursive printk() calls. The basic mechanism is pretty much the same -- at the beginning of a deadlock-prone section we switch to lock-less printk callback, and return back to a default