[PATCH 0/4] firewire: core: code refactoring for isoc resource management work in cdev layer

Takashi Sakamoto posted 4 patches 1 month, 1 week ago
drivers/firewire/core-cdev.c | 115 +++++++++++++++++++----------------
1 file changed, 64 insertions(+), 51 deletions(-)
[PATCH 0/4] firewire: core: code refactoring for isoc resource management work in cdev layer
Posted by Takashi Sakamoto 1 month, 1 week ago
Hi,

In the cdev layer of this subsystem, there are two ways to manage
isochronous resources. My previous work separated the logic for these
approaches[1]. However, there is still room to improve the current
implementation, particularly in the code path that maintains
isochronous resources managed by the kernel, where the current code can
be simplified.

This patchset refactors the relevant code accordingly.


[1] https://lore.kernel.org/lkml/20260429093449.160545-1-o-takashi@sakamocchi.jp/

Takashi Sakamoto (4):
  firewire: core: reduce critical section duration in pre-processing of
    isoc resource management in cdev
  firewire: core: use switch statement for post-processing of isoc
    resource management in cdev
  firewire: core: refactor notification type determination after isoc
    resource management in cdev
  firewire: core: move allocation/reallocation paths into specific branch
    after isoc resource management in cdev

 drivers/firewire/core-cdev.c | 115 +++++++++++++++++++----------------
 1 file changed, 64 insertions(+), 51 deletions(-)


base-commit: 6dbe7653fa01edeefc77b4d7c063562eb3debd48
-- 
2.53.0
Re: [PATCH 0/4] firewire: core: code refactoring for isoc resource management work in cdev layer
Posted by Takashi Sakamoto 1 month, 1 week ago
On Fri, May 01, 2026 at 10:58:19PM +0900, Takashi Sakamoto wrote:
> Hi,
> 
> In the cdev layer of this subsystem, there are two ways to manage
> isochronous resources. My previous work separated the logic for these
> approaches[1]. However, there is still room to improve the current
> implementation, particularly in the code path that maintains
> isochronous resources managed by the kernel, where the current code can
> be simplified.
> 
> This patchset refactors the relevant code accordingly.
> 
> 
> [1] https://lore.kernel.org/lkml/20260429093449.160545-1-o-takashi@sakamocchi.jp/
> 
> Takashi Sakamoto (4):
>   firewire: core: reduce critical section duration in pre-processing of
>     isoc resource management in cdev
>   firewire: core: use switch statement for post-processing of isoc
>     resource management in cdev
>   firewire: core: refactor notification type determination after isoc
>     resource management in cdev
>   firewire: core: move allocation/reallocation paths into specific branch
>     after isoc resource management in cdev
> 
>  drivers/firewire/core-cdev.c | 115 +++++++++++++++++++----------------
>  1 file changed, 64 insertions(+), 51 deletions(-)

Applied to for-next branch.


Regards

Takashi Sakamoto