Re: [PATCH 6/7] rust: workqueue: add Work::cancel_work_sync()

"Danilo Krummrich" <[email protected]>
Newsgroups org.kernel.vger.rust-for-linux,dev.linux.lists.driver-core,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Fri Aug 7, 2026 at 9:51 AM CEST, Onur Özkan wrote:
> Perhaps you could pull the exiting effort for `cancel_sync` support [1] which
> is also used by the tyr reset implementation [2]?

Please also see my reply to John [3].

I think for your implementation in Tyr you should just use ScopedWork, which
should simplify the implementation significantly.

cancel_sync() for Work could be useful regardless, but it seems to be an
orthogonal effort that requires a separate use-case, so I rather not include it
in this series.

> [1]: https://lore.kernel.org/all/[email protected]
> [2]: https://lore.kernel.org/all/[email protected]

[3] https://lore.kernel.org/all/[email protected]/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.