Re: workqueues - how to use them correctly

2015-02-11 Thread Roshan A
Thanks Arun for the link. This clears up things for me. On Wed, Feb 11, 2015 at 3:28 AM, Arun KS wrote: > Hello Roshan, > > On Tue, Feb 10, 2015 at 2:20 PM, Roshan A wrote: >> >> hi all, >> >> My question is regarding the correct use of workqueues. I have a >> driver which queues a work item in

Re: workqueues - how to use them correctly

2015-02-11 Thread Arun KS
Hello Roshan, On Tue, Feb 10, 2015 at 2:20 PM, Roshan A wrote: > > hi all, > > My question is regarding the correct use of workqueues. I have a > driver which queues a work item in the interrupt handler. The bottom > half function ( the workitem -function ) does have proper locking ( > mutex ) in

Re: workqueues - how to use them correctly

2015-02-10 Thread Roshan A
On Tue, Feb 10, 2015 at 9:24 AM, Anish Kumar wrote: > > > > >> On Feb 10, 2015, at 12:50 AM, Roshan A wrote: >> >> hi all, >> >> My question is regarding the correct use of workqueues. I have a >> driver which queues a work item in the interrupt handler. The bottom >> half function ( the workitem

Re: workqueues - how to use them correctly

2015-02-10 Thread Anish Kumar
> On Feb 10, 2015, at 12:50 AM, Roshan A wrote: > > hi all, > > My question is regarding the correct use of workqueues. I have a > driver which queues a work item in the interrupt handler. The bottom > half function ( the workitem -function ) does have proper locking ( > mutex ) in place for

Re: workqueues - how to use them correctly

2015-02-10 Thread Pranay Srivastava
On Tue, Feb 10, 2015 at 1:50 AM, Roshan A wrote: > hi all, > > My question is regarding the correct use of workqueues. I have a > driver which queues a work item in the interrupt handler. The bottom > half function ( the workitem -function ) does have proper locking ( > mutex ) in place for atomic

workqueues - how to use them correctly

2015-02-10 Thread Roshan A
hi all, My question is regarding the correct use of workqueues. I have a driver which queues a work item in the interrupt handler. The bottom half function ( the workitem -function ) does have proper locking ( mutex ) in place for atomicity. With this setup, since the interrupts are enabled, it's