Re: [PATCH V2] relay: fix timer madness

2013-07-19 Thread Dan Carpenter
On Wed, Jul 10, 2013 at 10:18:54AM +0800, zhangwei(Jovi) wrote: > @@ -339,6 +339,10 @@ static void wakeup_readers(unsigned long data) > { > struct rchan_buf *buf = (struct rchan_buf *)data; > wake_up_interruptible(>read_wait); > + /* > + * Stupid polling for now: > + */

Re: [PATCH V2] relay: fix timer madness

2013-07-19 Thread Dan Carpenter
On Wed, Jul 10, 2013 at 10:18:54AM +0800, zhangwei(Jovi) wrote: @@ -339,6 +339,10 @@ static void wakeup_readers(unsigned long data) { struct rchan_buf *buf = (struct rchan_buf *)data; wake_up_interruptible(buf-read_wait); + /* + * Stupid polling for now: + */ +

Re: [PATCH V2] relay: fix timer madness

2013-07-09 Thread Andrew Morton
On Wed, 10 Jul 2013 11:37:26 +0800 Li Zefan wrote: > On 2013/7/10 10:18, zhangwei(Jovi) wrote: > > When I'm using ktap script to tracing all event tracepoints by relay > > transport, without this patch, the system will hang in few seconds. > > > > I found the original patch discussion in 2007.

Re: [PATCH V2] relay: fix timer madness

2013-07-09 Thread Li Zefan
On 2013/7/10 10:18, zhangwei(Jovi) wrote: > When I'm using ktap script to tracing all event tracepoints by relay > transport, without this patch, the system will hang in few seconds. > > I found the original patch discussion in 2007. > http://marc.info/?l=linux-kernel=118544794717162=2 > (In that

[PATCH V2] relay: fix timer madness

2013-07-09 Thread zhangwei(Jovi)
When I'm using ktap script to tracing all event tracepoints by relay transport, without this patch, the system will hang in few seconds. I found the original patch discussion in 2007. http://marc.info/?l=linux-kernel=118544794717162=2 (In that mail thread, the patch didn't fix that problem, but

[PATCH V2] relay: fix timer madness

2013-07-09 Thread zhangwei(Jovi)
When I'm using ktap script to tracing all event tracepoints by relay transport, without this patch, the system will hang in few seconds. I found the original patch discussion in 2007. http://marc.info/?l=linux-kernelm=118544794717162w=2 (In that mail thread, the patch didn't fix that problem, but

Re: [PATCH V2] relay: fix timer madness

2013-07-09 Thread Li Zefan
On 2013/7/10 10:18, zhangwei(Jovi) wrote: When I'm using ktap script to tracing all event tracepoints by relay transport, without this patch, the system will hang in few seconds. I found the original patch discussion in 2007. http://marc.info/?l=linux-kernelm=118544794717162w=2 (In that

Re: [PATCH V2] relay: fix timer madness

2013-07-09 Thread Andrew Morton
On Wed, 10 Jul 2013 11:37:26 +0800 Li Zefan lize...@huawei.com wrote: On 2013/7/10 10:18, zhangwei(Jovi) wrote: When I'm using ktap script to tracing all event tracepoints by relay transport, without this patch, the system will hang in few seconds. I found the original patch discussion