From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: linux1394-devel@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 0/4] firewire: core: call address handlers ouside RCU read-side critical section
Date: Mon, 11 Aug 2025 22:28:17 +0900 [thread overview]
Message-ID: <20250811132817.GA267817@workstation.local> (raw)
In-Reply-To: <20250803122015.236493-1-o-takashi@sakamocchi.jp>
On Sun, Aug 03, 2025 at 09:20:11PM +0900, Takashi Sakamoto wrote:
> Hi,
>
> This is an updated version of my previous patchset[1].
>
> In the earlier version, XArray was used to collect FCP address handlers.
> However, in typical system, only a few handlers are registered, and
> using XArray for this purpose was unnecessarily complex and inefficient.
> A simpler and faster approach is more appropriate here.
>
> In this v2 patchset, the kernel stack is used initially to store up to 4
> handlers. If more than 4 handlers are registered in the system, a buffer
> is dynamically allocated from the kernel heap.
>
> [1] https://lore.kernel.org/lkml/20250728015125.17825-1-o-takashi@sakamocchi.jp/
>
> Takashi Sakamoto (4):
> firewire: core: use reference counting to invoke address handlers
> safely
> firewire: core: call handler for exclusive regions outside RCU
> read-side critical section
> firewire: core: call FCP address handlers outside RCU read-side
> critical section
> firewire: core: reallocate buffer for FCP address handlers when more
> than 4 are registered
>
> drivers/firewire/core-transaction.c | 91 +++++++++++++++++++++++++----
> include/linux/firewire.h | 4 ++
> 2 files changed, 85 insertions(+), 10 deletions(-)
>
>
> base-commit: 7061835997daba9e73c723c85bd70bc4c44aef77
Applied to for-linus branch.
Thanks
Takashi Sakamoto
prev parent reply other threads:[~2025-08-11 13:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-03 12:20 [PATCH v2 0/4] firewire: core: call address handlers ouside RCU read-side critical section Takashi Sakamoto
2025-08-03 12:20 ` [PATCH v2 1/4] firewire: core: use reference counting to invoke address handlers safely Takashi Sakamoto
2025-08-03 12:20 ` [PATCH v2 2/4] firewire: core: call handler for exclusive regions outside RCU read-side critical section Takashi Sakamoto
2025-08-03 12:20 ` [PATCH v2 3/4] firewire: core: call FCP address handlers " Takashi Sakamoto
2025-08-03 12:20 ` [PATCH v2 4/4] firewire: core: reallocate buffer for FCP address handlers when more than 4 are registered Takashi Sakamoto
2025-08-11 13:28 ` 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=20250811132817.GA267817@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.