From: Boqun Feng <boqun@kernel.org>
To: FUJITA Tomonori <tomo@aliasing.net>
Cc: ojeda@kernel.org, peterz@infradead.org, will@kernel.org,
a.hindborg@kernel.org, aliceryhl@google.com,
bjorn3_gh@protonmail.com, dakr@kernel.org, gary@garyguo.net,
lossin@kernel.org, mark.rutland@arm.com, tmgross@umich.edu,
rust-for-linux@vger.kernel.org,
FUJITA Tomonori <fujita.tomonori@gmail.com>
Subject: Re: [PATCH v2 0/2] rust: sync: Add AtomicFlag type
Date: Thu, 29 Jan 2026 08:00:57 -0800 [thread overview]
Message-ID: <aXuEOZDzwyKIZ2Pv@tardis.local> (raw)
In-Reply-To: <20260129122622.3896144-1-tomo@aliasing.net>
On Thu, Jan 29, 2026 at 09:26:20PM +0900, FUJITA Tomonori wrote:
> From: FUJITA Tomonori <fujita.tomonori@gmail.com>
>
> This series adds AtomicFlag and switches the list atomic tracker to
> use it.
>
> Unlike the previous design, we avoid exposing Atomic<Flag> and always
> use AtomicFlag.
>
> v2:
> - Drop Atomic<u8> alias; Define Flag on all architectures
> - Place padding first on big endian archs
> v1: https://lore.kernel.org/rust-for-linux/20260128115200.3820113-1-tomo@aliasing.net/
>
Queued in rust-sync for more tests and reviews, thank you!
Regards,
Boqun
>
> FUJITA Tomonori (2):
> rust: sync: atomic: Add perfromance-optimal Flag type for atomic
> booleans
> rust: list: Use AtomicFlag in AtomicTracker
>
> rust/kernel/list/arc.rs | 8 +-
> rust/kernel/sync/atomic.rs | 125 +++++++++++++++++++++++++++
> rust/kernel/sync/atomic/predefine.rs | 17 ++++
> 3 files changed, 146 insertions(+), 4 deletions(-)
>
>
> base-commit: 6583920e15fc567109e1c64ca58c917f52f40736
> --
> 2.43.0
>
prev parent reply other threads:[~2026-01-29 16:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-29 12:26 [PATCH v2 0/2] rust: sync: Add AtomicFlag type FUJITA Tomonori
2026-01-29 12:26 ` [PATCH v2 1/2] rust: sync: atomic: Add perfromance-optimal Flag type for atomic booleans FUJITA Tomonori
2026-01-29 14:15 ` Gary Guo
2026-01-29 15:33 ` Boqun Feng
2026-01-29 15:45 ` Gary Guo
2026-01-29 12:26 ` [PATCH v2 2/2] rust: list: Use AtomicFlag in AtomicTracker FUJITA Tomonori
2026-01-29 16:00 ` Boqun Feng [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=aXuEOZDzwyKIZ2Pv@tardis.local \
--to=boqun@kernel.org \
--cc=a.hindborg@kernel.org \
--cc=aliceryhl@google.com \
--cc=bjorn3_gh@protonmail.com \
--cc=dakr@kernel.org \
--cc=fujita.tomonori@gmail.com \
--cc=gary@garyguo.net \
--cc=lossin@kernel.org \
--cc=mark.rutland@arm.com \
--cc=ojeda@kernel.org \
--cc=peterz@infradead.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=tmgross@umich.edu \
--cc=tomo@aliasing.net \
--cc=will@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox