Re: linux-next: manual merge of the slab tree with the rcu tree
Miguel Ojeda <[email protected]> Fri, 31 Jul 2026 22:51:28 +0200
| Newsgroups | org.kernel.vger.linux-next,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CANiq72=Lw7kTRuSTs5H+4fshGK74dJvwO1Mof3HCmXsAyEMJ=w@mail.gmail.com> |
On Fri, Jul 31, 2026 at 10:07=E2=80=AFPM Boqun Feng <[email protected]> wrot= e: > > Cc Nathan & Bert because of: > > https://lore.kernel.org/rust-for-linux/20260731192522.GA1014697@a= x162/ > > I actually prefer Nathan's fix, since it's more explicit about the > kvfree_rcu_head requirement. Alice & Miguel, thoughts? I like having the right types as a general principle, but I guess it depends on whether the maintainers prefer a solution closer in spirit to the cast in the C macro and whether the plan is indeed to have later more invasive changes / user-visible changes etc. Another solution could be to have C helpers on the more public facing API, but I assume there was a reason not to even before this change, e.g. expensive. Cheers, Miguel