Re: [PATCH] BPF: Disable on PREEMPT_RT

Alexei Starovoitov
2019-10-18T05:54:51Z

On Thu, Oct 17, 2019 at 09:57:39PM -0700, David Miller wrote:
> From: Clark Williams <williams@redhat.com>
> Date: Thu, 17 Oct 2019 21:49:17 -0500
>
> > BPF programs cannot loop and are limited to 4096 instructions.
>
> The limit was increased to 1 million not too long ago.

Right.
And it's easy to limit to 100 instructions per program for PREEMPT_RT.
I doubt it's necessary.