All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: linux1394-devel@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/5]  firewire: core: use XArray to maintain client resources
Date: Wed, 14 Aug 2024 09:12:05 +0900	[thread overview]
Message-ID: <20240814001205.GA12644@workstation.local> (raw)
In-Reply-To: <20240812235210.28458-1-o-takashi@sakamocchi.jp>

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

      parent reply	other threads:[~2024-08-14  0:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Takashi Sakamoto [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240814001205.GA12644@workstation.local \
    --to=o-takashi@sakamocchi.jp \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux1394-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.