Re: rust compile failure in next-20260730
"Vlastimil Babka (SUSE)" <[email protected]> Mon, 3 Aug 2026 17:10:17 +0200
| Newsgroups | org.kernel.vger.linux-next,org.kernel.vger.linux-kernel,org.kernel.vger.rust-for-linux |
|---|---|
| Message-ID | <[email protected]> |
On 8/3/26 16:23, Boqun Feng wrote: > On Mon, Aug 03, 2026 at 02:57:49PM +0100, Gary Guo wrote: >> >> We could also unconditionally use `kvfree_rcu_head` here, and >> add >> >> #[cfg(not(CONFIG_KVFREE_RCU_BATCHED))] >> pub type kvfree_rcu_head = callback_head; >> >> to bindings.rs? >> > > This option is currently not maintainable unless it becomes a > maintainer-aware way to handle things like this. > >> (Or even better, changing `#define` to `typedef` so bindgen takes care of >> everything). >> > > Yes, this is better IMO, but it's up to slab maintainers. :-) Can you elaborate a bit please, how would that look like? > Regards, > Boqun > >> Best, >> Gary >>