RE: [PATCH 6/6] staging: comedi: don't use mutex when polling file

2015-10-09 Thread Hartley Sweeten
On Friday, October 09, 2015 4:27 AM, Ian Abbott wrote: > The main mutex in a comedi device can get held for quite a while when > processing comedi instructions, so for performance reasons, the "read" > and "write" file operations do not use it; they use use the > `attach_lock` rwsemaphore to

RE: [PATCH 6/6] staging: comedi: don't use mutex when polling file

2015-10-09 Thread Hartley Sweeten
On Friday, October 09, 2015 4:27 AM, Ian Abbott wrote: > The main mutex in a comedi device can get held for quite a while when > processing comedi instructions, so for performance reasons, the "read" > and "write" file operations do not use it; they use use the > `attach_lock` rwsemaphore to