* RFC: completion: support poll()
@ 2018-10-17 14:32 Ramon Fried
0 siblings, 0 replies; only message in thread
From: Ramon Fried @ 2018-10-17 14:32 UTC (permalink / raw)
To: Greg Kroah-Hartman, kstewart, tglx, pombredanne, byungchul.park,
mingo, open list
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-10-17 14:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-17 14:32 RFC: completion: support poll() Ramon Fried
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).