public inbox for rust-for-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] Rust pin-init for v7.1
@ 2026-03-31 13:17 Benno Lossin
  2026-04-07 14:49 ` Gary Guo
  2026-04-08  9:11 ` Miguel Ojeda
  0 siblings, 2 replies; 4+ messages in thread
From: Benno Lossin @ 2026-03-31 13:17 UTC (permalink / raw)
  To: Miguel Ojeda, Boqun Feng, Gary Guo, Björn Roy Baron,
	Benno Lossin, Andreas Hindborg, Alice Ryhl, Trevor Gross,
	Danilo Krummrich
  Cc: Antonio Hickey, Christian Schrefl, Tamir Duberstein,
	Oleksandr Babak, rust-for-linux, linux-kernel

Hi Miguel,

This is a small one, various cleanups and small improvements with no
major changes to users of pin-init.

I summarized the changes in the my sync series [1]:

> This cycle we have no big changes in pin-init. This series is a
> collection of smaller improvements already merged upstream:
>
> - https://github.com/Rust-for-Linux/pin-init/pull/105
> - https://github.com/Rust-for-Linux/pin-init/pull/110
> - https://github.com/Rust-for-Linux/pin-init/pull/101
> - https://github.com/Rust-for-Linux/pin-init/pull/102
> - https://github.com/Rust-for-Linux/pin-init/pull/108
>
> Next cycle might contain bigger changes, mainly support for tuple
> structs. And I'm also thinking of already starting with integrating
> zerocopy.
>
> While testing for the kernel, I noticed the following issue (already
> fixed in the patch in this series):
>
> - https://github.com/Rust-for-Linux/pin-init/pull/123
>
> This cycle we also had some unsoundness fixes that are already in rc4:
>
> - https://github.com/Rust-for-Linux/pin-init/pull/111
> - https://github.com/Rust-for-Linux/pin-init/pull/117
>
> Lastly, there were some upstream-only changes:
>
> - https://github.com/Rust-for-Linux/pin-init/pull/114
> - https://github.com/Rust-for-Linux/pin-init/pull/109

All commits have been in linux-next since Thursday last week.

No conflicts expected.

Please pull for v7.1 -- thanks!

Cheers,
Benno

[1]: https://lore.kernel.org/all/20260319093542.3756606-1-lossin@kernel.org

The following changes since commit f338e77383789c0cae23ca3d48adcc5e9e137e3c:

  Linux 7.0-rc4 (2026-03-15 13:52:05 -0700)

are available in the Git repository at:

  https://github.com/Rust-for-Linux/linux.git tags/pin-init-v7.1

for you to fetch changes up to 09808839c7aa6695ceff5cd822c18b0d9550184d:

  rust: pin-init: replace `addr_of_mut!` with `&raw mut` (2026-03-25 10:57:53 +0100)

----------------------------------------------------------------
pin-init changes for v7.1

Changed:

- Replace the 'Zeroable' impls for 'Option<NonZero*>' with impls of
  'ZeroableOption' for 'NonZero*'.

- Improve feature gate handling for unstable features.

- Declutter the documentation of implementations of 'Zeroable' for
  tuples.

- Replace uses of 'addr_of[_mut]!' with '&raw [mut]'.

----------------------------------------------------------------
Antonio Hickey (1):
      rust: pin-init: replace `addr_of_mut!` with `&raw mut`

Benno Lossin (1):
      rust: pin-init: properly document let binding workaround

Gary Guo (2):
      rust: pin-init: build: simplify use of nightly features
      rust: pin-init: doc: de-clutter documentation with fake-variadics

Hamdan-Khan (1):
      rust: pin-init: implement ZeroableOption for NonZero* integer types

 rust/Makefile                                 |  4 +-
 rust/pin-init/README.md                       |  3 +-
 rust/pin-init/examples/big_struct_in_place.rs |  3 ++
 rust/pin-init/examples/linked_list.rs         |  3 +-
 rust/pin-init/examples/mutex.rs               |  3 +-
 rust/pin-init/examples/pthread_mutex.rs       |  3 +-
 rust/pin-init/examples/static_init.rs         |  3 +-
 rust/pin-init/internal/src/init.rs            | 14 +++--
 rust/pin-init/internal/src/lib.rs             |  2 +-
 rust/pin-init/src/lib.rs                      | 73 ++++++++++++++++++---------
 10 files changed, 75 insertions(+), 36 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] Rust pin-init for v7.1
  2026-03-31 13:17 [GIT PULL] Rust pin-init for v7.1 Benno Lossin
@ 2026-04-07 14:49 ` Gary Guo
  2026-04-07 16:17   ` Miguel Ojeda
  2026-04-08  9:11 ` Miguel Ojeda
  1 sibling, 1 reply; 4+ messages in thread
From: Gary Guo @ 2026-04-07 14:49 UTC (permalink / raw)
  To: Benno Lossin, Miguel Ojeda, Boqun Feng, Gary Guo,
	Björn Roy Baron, Andreas Hindborg, Alice Ryhl, Trevor Gross,
	Danilo Krummrich
  Cc: Antonio Hickey, Christian Schrefl, Tamir Duberstein,
	Oleksandr Babak, rust-for-linux, linux-kernel

On Tue Mar 31, 2026 at 2:17 PM BST, Benno Lossin wrote:
> Hi Miguel,
>
> This is a small one, various cleanups and small improvements with no
> major changes to users of pin-init.
>
> I summarized the changes in the my sync series [1]:
>
>> This cycle we have no big changes in pin-init. This series is a
>> collection of smaller improvements already merged upstream:
>>
>> - https://github.com/Rust-for-Linux/pin-init/pull/105
>> - https://github.com/Rust-for-Linux/pin-init/pull/110
>> - https://github.com/Rust-for-Linux/pin-init/pull/101
>> - https://github.com/Rust-for-Linux/pin-init/pull/102
>> - https://github.com/Rust-for-Linux/pin-init/pull/108
>>
>> Next cycle might contain bigger changes, mainly support for tuple
>> structs. And I'm also thinking of already starting with integrating
>> zerocopy.
>>
>> While testing for the kernel, I noticed the following issue (already
>> fixed in the patch in this series):
>>
>> - https://github.com/Rust-for-Linux/pin-init/pull/123
>>
>> This cycle we also had some unsoundness fixes that are already in rc4:
>>
>> - https://github.com/Rust-for-Linux/pin-init/pull/111
>> - https://github.com/Rust-for-Linux/pin-init/pull/117
>>
>> Lastly, there were some upstream-only changes:
>>
>> - https://github.com/Rust-for-Linux/pin-init/pull/114
>> - https://github.com/Rust-for-Linux/pin-init/pull/109
>
> All commits have been in linux-next since Thursday last week.
>
> No conflicts expected.
>
> Please pull for v7.1 -- thanks!

Hi Miguel,

A gentle nudge about this PR.

Best,
Gary

>
> Cheers,
> Benno
>
> [1]: https://lore.kernel.org/all/20260319093542.3756606-1-lossin@kernel.org
>
> The following changes since commit f338e77383789c0cae23ca3d48adcc5e9e137e3c:
>
>   Linux 7.0-rc4 (2026-03-15 13:52:05 -0700)
>
> are available in the Git repository at:
>
>   https://github.com/Rust-for-Linux/linux.git tags/pin-init-v7.1
>
> for you to fetch changes up to 09808839c7aa6695ceff5cd822c18b0d9550184d:
>
>   rust: pin-init: replace `addr_of_mut!` with `&raw mut` (2026-03-25 10:57:53 +0100)
>
> ----------------------------------------------------------------
> pin-init changes for v7.1
>
> Changed:
>
> - Replace the 'Zeroable' impls for 'Option<NonZero*>' with impls of
>   'ZeroableOption' for 'NonZero*'.
>
> - Improve feature gate handling for unstable features.
>
> - Declutter the documentation of implementations of 'Zeroable' for
>   tuples.
>
> - Replace uses of 'addr_of[_mut]!' with '&raw [mut]'.
>
> ----------------------------------------------------------------
> Antonio Hickey (1):
>       rust: pin-init: replace `addr_of_mut!` with `&raw mut`
>
> Benno Lossin (1):
>       rust: pin-init: properly document let binding workaround
>
> Gary Guo (2):
>       rust: pin-init: build: simplify use of nightly features
>       rust: pin-init: doc: de-clutter documentation with fake-variadics
>
> Hamdan-Khan (1):
>       rust: pin-init: implement ZeroableOption for NonZero* integer types
>
>  rust/Makefile                                 |  4 +-
>  rust/pin-init/README.md                       |  3 +-
>  rust/pin-init/examples/big_struct_in_place.rs |  3 ++
>  rust/pin-init/examples/linked_list.rs         |  3 +-
>  rust/pin-init/examples/mutex.rs               |  3 +-
>  rust/pin-init/examples/pthread_mutex.rs       |  3 +-
>  rust/pin-init/examples/static_init.rs         |  3 +-
>  rust/pin-init/internal/src/init.rs            | 14 +++--
>  rust/pin-init/internal/src/lib.rs             |  2 +-
>  rust/pin-init/src/lib.rs                      | 73 ++++++++++++++++++---------
>  10 files changed, 75 insertions(+), 36 deletions(-)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] Rust pin-init for v7.1
  2026-04-07 14:49 ` Gary Guo
@ 2026-04-07 16:17   ` Miguel Ojeda
  0 siblings, 0 replies; 4+ messages in thread
From: Miguel Ojeda @ 2026-04-07 16:17 UTC (permalink / raw)
  To: Gary Guo
  Cc: Benno Lossin, Miguel Ojeda, Boqun Feng, Björn Roy Baron,
	Andreas Hindborg, Alice Ryhl, Trevor Gross, Danilo Krummrich,
	Antonio Hickey, Christian Schrefl, Tamir Duberstein,
	Oleksandr Babak, rust-for-linux, linux-kernel

On Tue, Apr 7, 2026 at 4:49 PM Gary Guo <gary@garyguo.net> wrote:
>
> A gentle nudge about this PR.

No worries, it isn't forgotten.

This one (and Andreas' one) had newer bases so they count as back
merges, thus I decided to put them at the top of my PR to avoid
affecting the branch until then.

(By the way, for the future, please try to pick a base at most as
recent as the upstream one, i.e. `rust-next`, so that they don't count
as back merges -- we should avoid those wherever possible.).

Thanks for the ping!

Cheers,
Miguel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] Rust pin-init for v7.1
  2026-03-31 13:17 [GIT PULL] Rust pin-init for v7.1 Benno Lossin
  2026-04-07 14:49 ` Gary Guo
@ 2026-04-08  9:11 ` Miguel Ojeda
  1 sibling, 0 replies; 4+ messages in thread
From: Miguel Ojeda @ 2026-04-08  9:11 UTC (permalink / raw)
  To: Benno Lossin
  Cc: Miguel Ojeda, Boqun Feng, Gary Guo, Björn Roy Baron,
	Andreas Hindborg, Alice Ryhl, Trevor Gross, Danilo Krummrich,
	Antonio Hickey, Christian Schrefl, Tamir Duberstein,
	Oleksandr Babak, rust-for-linux, linux-kernel

On Tue, Mar 31, 2026 at 3:17 PM Benno Lossin <lossin@kernel.org> wrote:
>
> Please pull for v7.1 -- thanks!

Merged into `rust-next` -- thanks!

As discussed offline, this counts as a back merge, so let's avoid it
in the future unless justified. This time around, I merged Andreas'
first (which was also a back merge, with an even newer base) and
provided context there, so that this one would look like a "normal"
one.

Cheers,
Miguel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-04-08  9:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-31 13:17 [GIT PULL] Rust pin-init for v7.1 Benno Lossin
2026-04-07 14:49 ` Gary Guo
2026-04-07 16:17   ` Miguel Ojeda
2026-04-08  9:11 ` Miguel Ojeda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox