[PATCH v2 1/5] staging: greybus: operation: add asynchronous gb_operation_cancel
Johan Hovold
johan at kernel.org
Mon Jan 2 16:16:02 UTC 2017
On Tue, Dec 27, 2016 at 01:01:35PM +0000, Bryan O'Donoghue wrote:
> Later patches don't want or need to serialize the cancellation of an
> operation. This patch adds gb_operation_cancel_async() as a simple subset
> of the existing gb_operation_cancel() sans the synchronous wait on the
> cancellation queue.
This one is not needed and complicates the interface for no good reason
(the async suffix also falsely indicates that this function could be
called from atomic context).
Just cancel synchronously in the delayed worker function you add later
in the series.
Johan
More information about the devel
mailing list