Re: [PATCH] BPF: Disable on PREEMPT_RT

Alexei Starovoitov
2019-10-17T23:27:28Z

On Thu, Oct 17, 2019 at 2:54 PM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> I'm all ears for an alternative solution. Here are the pain points:

Let's talk about them one by one.

> #1) BPF disables preemption unconditionally with no way to do a proper RT
> substitution like most other infrastructure in the kernel provides
> via spinlocks or other locking primitives.

Kernel has a ton of code that disables preemption.
Why BPF is somehow special?
Are you saying RT kernel doesn't disable preemption at all?
I'm complete noob in RT.