Re: [PATCH] bpf: ringbuf: add wakeup coalescing

From: Alexei Starovoitov

Date: Tue Dec 01 2026 - 20:20:09 EST


On Tue, Dec 01, 2026 at 05:00 PM Michael S. Tsirkin <mst@xxxxxxxxxx> wrote:
>> The sysctl assumes the same. Its default is 1, which is what we have today.
>
> If you feel changing that to 8 is okay, lemme know.

No. Not every ringbuf is a stream of samples.

> I mean, I can do it on my box. That's the point. Currently
> bpf can only have the universal threshold, I want to add a
> per-box one, if some box is different than others.

No. It's not universal. It was always up to bpf program
and explicitly documented Documentation/bpf/ringbuf.rst