Re: [PATCH v4 0/5] Rate limited printing for Rust
Greg Kroah-Hartman <[email protected]> Fri, 31 Jul 2026 11:06:36 +0200
| Newsgroups | org.kernel.vger.rust-for-linux,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <2026073148-cushy-mocha-2ecf@gregkh> |
On Tue, Jul 28, 2026 at 09:32:50AM +0000, Alice Ryhl wrote: > To avoid DoS on the kernel log, the Rust Binder driver is being switched > to rate limited printing. But before we can do that, we must first > implement rate limited printing for Rust. Thus, do that. > > However, it turns out that before we can implement rate limited > printing, we must first implement the ability declare a raw_spinlock_t > in a global variable. Thus, do that too. > > Based on top of char-misc-next plus this patch: > https://lore.kernel.org/all/[email protected]/ Doesn't apply on my branch anymore, perhaps due to the other binder patches I just accepted? Ideally the rate-limit stuff could go through the rust tree, but that would delay this a release cycle, so I don't mind taking this through char-misc, if someone wants to rebase it yet-again :) thanks, greg k-h