diff options
| author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-09-21 12:19:30 +0900 |
|---|---|---|
| committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-09-21 12:19:30 +0900 |
| commit | 382ec2940670c273b297a6803333237d5f4a90f5 (patch) | |
| tree | 538ff2c40e48e487dfcfdad784774544d5e01a95 /rust/kernel/alloc/kvec/errors.rs | |
| parent | 4e7cbc6c1421682f4523bd411d1cebed326f7e31 (diff) | |
firewire: core: use workqueue to invoke transaction callback in some error cases
Some error paths of __fw_send_request() invoke the transaction callback
in the caller's context. Additionally, when a split transaction times
out, the callback is invoked in softIRQ context by the timer wheel.
These are the only cases where the callback is not guaranteed to be
invoked in process context.
Use a workqueue to invoke the callback in these cases. This may introduce
additional delay when a split transaction times out, but the default
timeout is 2 seconds, so the additional delay should be negligible.
Link: https://lore.kernel.org/r/20260921031931.287429-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions
