[PATCH 0/2] firewire: core: optimize for concurrent calls of fw_iso_context_flush_completions()

From: Takashi Sakamoto
Date: Mon Sep 09 2024 - 10:01:58 EST


Hi,

It seems to be the last week for v6.12 development. I realize it
unpreferable to propose intrusive changes, however I also realized that
there is a room to refactor core functions in respect to handler of work
item for isochronous context for the next merge window...

This series of changes refactors the core function to call
fw_iso_context_flush_completions() from the work item. It optimizes some
event waiting and mediation of concurrent calls as well.

Takashi Sakamoto (2):
firewire: core: move workqueue handler from 1394 OHCI driver to core
function
firewire: core: use mutex to coordinate concurrent calls to flush
completions

drivers/firewire/core-iso.c | 31 ++++++++-------
drivers/firewire/core.h | 5 ---
drivers/firewire/ohci.c | 78 +++++++------------------------------
include/linux/firewire.h | 1 +
4 files changed, 31 insertions(+), 84 deletions(-)

--
2.43.0