[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CA+Kvs9=CbQC7RydJo+arGFRmQ8j5hXambj9MCKJzA=tcy-3Cnw@mail.gmail.com>
Date: Wed, 17 Oct 2018 17:32:10 +0300
From: Ramon Fried <ramon.fried@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
kstewart@...uxfoundation.org, tglx@...utronix.de,
pombredanne@...b.com, byungchul.park@....com, mingo@...nel.org,
open list <linux-kernel@...r.kernel.org>
Subject: RFC: 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.
Powered by blists - more mailing lists