rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Boqun Feng <boqun.feng@gmail.com>
To: Ingo Molnar <mingo@kernel.org>, Peter Zijlstra <peterz@infradead.org>
Cc: "Will Deacon" <will@kernel.org>,
	"Waiman Long" <longman@redhat.com>,
	"reg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	"Danilo Krummrich" <dakr@kernel.org>,
	"Miguel Ojeda" <ojeda@kernel.org>,
	"Alex Gaynor" <alex.gaynor@gmail.com>,
	"Gary Guo" <gary@garyguo.net>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Benno Lossin" <lossin@kernel.org>,
	"Andreas Hindborg" <a.hindborg@kernel.org>,
	"Alice Ryhl" <aliceryhl@google.com>,
	"Trevor Gross" <tmgross@umich.edu>,
	"Mark Rutland" <mark.rutland@arm.com>,
	linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org,
	"Boqun Feng" <boqun.feng@gmail.com>
Subject: [GIT PULL] [PATCH 1/4] Rust atomics & locking changes for v6.19
Date: Thu, 13 Nov 2025 22:01:56 -0800	[thread overview]
Message-ID: <20251114060200.12982-1-boqun.feng@gmail.com> (raw)

Hi Peter & Ingo,

Please pull this Rust atomics + locking changes for v6.19, it's fairly
simple and small for this cycle ;-)

The following changes since commit b94d45b6bbb42571ec225d3be0e7457c8765a5b4:

  seqlock: Allow KASAN to fail optimizing (2025-10-28 09:58:57 +0100)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/boqun/linux.git tags/rust-locking.2025.11.13

for you to fetch changes up to 3572e2edc7b611d0b564c487bafda04b5dbb5134:

  locking/mutex: Redo __mutex_init() (2025-11-12 08:56:42 -0800)

Regards,
Boqun

----------------------------------------------------------------
Rust atomic changes for v6.19:

- Replace Rust native atomics with LKMM atomics in debugfs

Locking changes for v6.19:

- Redo __mutex_init() to allow compiler removing unused parameters
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEj5IosQTPz8XU1wRHSXnow7UH+rgFAmkWw9wACgkQSXnow7UH
+rjD+gf9Eri5Au1hyYD/UPmBBZWMgWRx32RMbJ261he1YEa1gTbHqitlHu0++vmf
8+B1VGU7ts6c9vyAR/7yAAuIjfnnunxcF7NnjsguGSywWG3uQpd75o2C+TiELwfz
aJvkNTNUcX6IA7I2j4tdGh3likG+4viSb2LxQBRUkJ557LySRv+/XcBrpjWW6lit
pIohp3UUVGApTjwP/UiBETUqZz9bnwYHhQvPaCwCUt93GiNrAQC8rmQIMFQj8RhN
g28RsLXxN06ozGLsjfNFHVRTDRc8KsLgWsuQwWPwMY6CUE9AiyqX4B6IZ9ymtGNt
ENbskYAiXLDqmShB7ASmjL4CST8LNQ==
=8JA2
-----END PGP SIGNATURE-----

----------------------------------------------------------------
Boqun Feng (3):
      rust: sync: atomic: Make Atomic*Ops pub(crate)
      rust: sync: atomic: Implement Debug for Atomic<Debug>
      rust: debugfs: Replace the usage of Rust native atomics

Sebastian Andrzej Siewior (1):
      locking/mutex: Redo __mutex_init()

 include/linux/mutex.h               | 45 ++++++++++++++++++++++++-------
 kernel/locking/mutex.c              | 22 ++++++++++-----
 kernel/locking/rtmutex_api.c        | 19 ++++++++++---
 rust/kernel/debugfs/traits.rs       | 53 ++++++++++++-------------------------
 rust/kernel/sync/atomic.rs          | 12 ++++++++-
 samples/rust/rust_debugfs.rs        | 12 ++++-----
 samples/rust/rust_debugfs_scoped.rs |  6 ++---
 7 files changed, 102 insertions(+), 67 deletions(-)

             reply	other threads:[~2025-11-14  6:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-14  6:01 Boqun Feng [this message]
2025-11-14  6:01 ` [PATCH 1/4] rust: sync: atomic: Make Atomic*Ops pub(crate) Boqun Feng
2025-11-14  6:01 ` [PATCH 2/4] rust: sync: atomic: Implement Debug for Atomic<Debug> Boqun Feng
2025-11-14  6:01 ` [PATCH 3/4] rust: debugfs: Replace the usage of Rust native atomics Boqun Feng
2025-11-14  6:02 ` [PATCH 4/4] locking/mutex: Redo __mutex_init() Boqun Feng
2025-11-14 15:28 ` [GIT PULL] [PATCH 1/4] Rust atomics & locking changes for v6.19 Peter Zijlstra

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=20251114060200.12982-1-boqun.feng@gmail.com \
    --to=boqun.feng@gmail.com \
    --cc=a.hindborg@kernel.org \
    --cc=alex.gaynor@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=bjorn3_gh@protonmail.com \
    --cc=dakr@kernel.org \
    --cc=gary@garyguo.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=longman@redhat.com \
    --cc=lossin@kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mingo@kernel.org \
    --cc=ojeda@kernel.org \
    --cc=peterz@infradead.org \
    --cc=rafael@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=tmgross@umich.edu \
    --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;
as well as URLs for NNTP newsgroup(s).