Re: [PATCH 01/10] dmatest: cancel thread immediately when asked for

2013-03-04 Thread Viresh Kumar
On 4 March 2013 17:09, Andy Shevchenko wrote: > If user have the timeout alike issues and wants to cancel the thread > immediately, the current call of wait_event_freezable_timeout is preventing to > this until timeout is expired. Thus, user will experience the unnecessary > delays. > > Adding kth

[PATCH 01/10] dmatest: cancel thread immediately when asked for

2013-03-04 Thread Andy Shevchenko
If user have the timeout alike issues and wants to cancel the thread immediately, the current call of wait_event_freezable_timeout is preventing to this until timeout is expired. Thus, user will experience the unnecessary delays. Adding kthread_should_stop() check inside wait_event_freezable_timeo