public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5]  firewire: core: use XArray to maintain client resources
@ 2024-08-12 23:52 Takashi Sakamoto
  2024-08-12 23:52 ` [PATCH 1/5] firewire: core: minor code refactoring to release client resource Takashi Sakamoto
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Takashi Sakamoto @ 2024-08-12 23:52 UTC (permalink / raw)
  To: linux1394-devel; +Cc: linux-kernel

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(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-08-14  0:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-12 23:52 [PATCH 0/5] firewire: core: use XArray to maintain client resources Takashi Sakamoto
2024-08-12 23:52 ` [PATCH 1/5] firewire: core: minor code refactoring to release client resource Takashi Sakamoto
2024-08-12 23:52 ` [PATCH 2/5] firewire: core: add helper functions to convert to parent resource structure Takashi Sakamoto
2024-08-12 23:52 ` [PATCH 3/5] firewire: core: add helper function to detect data of iso " Takashi Sakamoto
2024-08-12 23:52 ` [PATCH 4/5] firewire: core: code refactoring to use idr_for_each_entry() macro instead of idr_for_each() function Takashi Sakamoto
2024-08-12 23:52 ` [PATCH 5/5] firewire: core: use xarray instead of idr to maintain client resource Takashi Sakamoto
2024-08-14  0:12 ` [PATCH 0/5] firewire: core: use XArray to maintain client resources Takashi Sakamoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox