[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250915234747.915922-1-o-takashi@sakamocchi.jp>
Date: Tue, 16 Sep 2025 08:47:41 +0900
From: Takashi Sakamoto <o-takashi@...amocchi.jp>
To: linux1394-devel@...ts.sourceforge.net
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH 0/6] firewire: core: partition fw_card spinlock
Hi,
The current implementation uses the fw_card spinlock for a wide range of
purposes, which goes against the theory that the type of lock should
protect critical sections as narrowly as possible.
This patchset adds some spinlocks for specific purposes, therefore
partitioning the existing wide-purpose lock.
Takashi Sakamoto (6):
firewire: core: use scoped_guard() to manage critical section to
update topology
firewire: core: maintain phy packet receivers locally in cdev layer
firewire: core: use spin lock specific to topology map
firewire: core: use spin lock specific to transaction
firewire: core: use spin lock specific to timer for split transaction
firewire: core: annotate fw_destroy_nodes with must-hold-lock
drivers/firewire/core-card.c | 23 +++--
drivers/firewire/core-cdev.c | 27 ++++--
drivers/firewire/core-topology.c | 92 ++++++++++----------
drivers/firewire/core-transaction.c | 128 ++++++++++++++++++----------
include/linux/firewire.h | 33 ++++---
5 files changed, 185 insertions(+), 118 deletions(-)
base-commit: 931383f161c066ac5fda12035540498931739842
--
2.48.1
Powered by blists - more mailing lists