]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: sync: atomic: Add atomic bool tests
authorFUJITA Tomonori <fujita.tomonori@gmail.com>
Thu, 1 Jan 2026 03:49:22 +0000 (12:49 +0900)
committerBoqun Feng <boqun.feng@gmail.com>
Fri, 9 Jan 2026 11:01:41 +0000 (19:01 +0800)
commit4bac28727a2b3f33e6375aeafdf31df67deff5d0
treeba9ff565e1d3dd612b35fdff99d04f8e6e901413
parent06bd0e52bfd78eae1c7dd5db163ce64161b495e7
rust: sync: atomic: Add atomic bool tests

Add tests for Atomic<bool> operations.

Atomic<bool> does not fit into the existing u8/16/32/64 tests so
introduce a dedicated test for it.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Link: https://patch.msgid.link/20260101034922.2020334-3-fujita.tomonori@gmail.com
rust/kernel/sync/atomic/predefine.rs