lkml.org 
[lkml]   [2018]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRFC: completion: support poll()
Hi.
If what I'm suggesting makes no sense please tell me. :)

In a char driver I'm writing I'm using completion to wait for transmit
operation to complete.
The drivers also exposes poll() functionality to wait for transmission
to complete.

poll_wait() requires a wait queue, is there a reason why can't I use
the wait queue that is hidden inside the completion struct ?

I'm suggesting to add an API to get the wait_queue so it can be used
for the above scenario.

Appreciate your comments.
Thanks,
Ramon.

\
 
 \ /
  Last update: 2018-10-17 16:32    [W:0.031 / U:0.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site