Re: [RFC PATCH 9/9] printk: Wake up klogd using irq_work

2012-10-29 Thread Frederic Weisbecker
2012/10/29 Steven Rostedt : > On Mon, 2012-10-29 at 14:28 +0100, Frederic Weisbecker wrote: >> klogd is woken up asynchronously from the tick in order >> to do it safely. >> >> However if printk is called when the tick is stopped, the reader >> won't be woken up until the next interrupt, which

Re: [RFC PATCH 9/9] printk: Wake up klogd using irq_work

2012-10-29 Thread Steven Rostedt
On Mon, 2012-10-29 at 14:28 +0100, Frederic Weisbecker wrote: > klogd is woken up asynchronously from the tick in order > to do it safely. > > However if printk is called when the tick is stopped, the reader > won't be woken up until the next interrupt, which might not fire > before a while. As a

[RFC PATCH 9/9] printk: Wake up klogd using irq_work

2012-10-29 Thread Frederic Weisbecker
klogd is woken up asynchronously from the tick in order to do it safely. However if printk is called when the tick is stopped, the reader won't be woken up until the next interrupt, which might not fire before a while. As a result, the user may miss some message. To fix this, lets implement the

Re: [RFC PATCH 9/9] printk: Wake up klogd using irq_work

2012-10-29 Thread Frederic Weisbecker
2012/10/29 Steven Rostedt rost...@goodmis.org: On Mon, 2012-10-29 at 14:28 +0100, Frederic Weisbecker wrote: klogd is woken up asynchronously from the tick in order to do it safely. However if printk is called when the tick is stopped, the reader won't be woken up until the next interrupt,

[RFC PATCH 9/9] printk: Wake up klogd using irq_work

2012-10-29 Thread Frederic Weisbecker
klogd is woken up asynchronously from the tick in order to do it safely. However if printk is called when the tick is stopped, the reader won't be woken up until the next interrupt, which might not fire before a while. As a result, the user may miss some message. To fix this, lets implement the

Re: [RFC PATCH 9/9] printk: Wake up klogd using irq_work

2012-10-29 Thread Steven Rostedt
On Mon, 2012-10-29 at 14:28 +0100, Frederic Weisbecker wrote: klogd is woken up asynchronously from the tick in order to do it safely. However if printk is called when the tick is stopped, the reader won't be woken up until the next interrupt, which might not fire before a while. As a