[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240814001205.GA12644@workstation.local>
Date: Wed, 14 Aug 2024 09:12:05 +0900
From: Takashi Sakamoto <o-takashi@...amocchi.jp>
To: linux1394-devel@...ts.sourceforge.net
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/5] firewire: core: use XArray to maintain client
resources
On Tue, Aug 13, 2024 at 08:52:05AM +0900, Takashi Sakamoto wrote:
> Hi,
>
> In core function, the instances of several types of client resources
> are maintained by IDR, and the index value of each resource is passed to
> user space application as handle. As of kernel v6.0, IDR has been
> superseded by XArray and deprecated.
>
> This series of changes is to obsolete the usage of IDR with XArray.
>
> Takashi Sakamoto (5):
> firewire: core: minor code refactoring to release client resource
> firewire: core: add helper functions to convert to parent resource
> structure
> firewire: core: add helper function to detect data of iso resource
> structure
> firewire: core: code refactoring to use idr_for_each_entry() macro
> instead of idr_for_each() function
> firewire: core: use xarray instead of idr to maintain client resource
>
> drivers/firewire/core-cdev.c | 170 +++++++++++++++++++----------------
> drivers/firewire/core.h | 1 -
> 2 files changed, 94 insertions(+), 77 deletions(-)
Applied to for-next branch.
Regards
Takashi Sakamoto
Powered by blists - more mailing lists