Re: [RFC PATCH v3 0/2] bpf, mm: Avoid allocator deadlocks on PREEMPT_RT

From: Alexei Starovoitov

Date: Tue Dec 01 2026 - 23:11:56 EST


On Tue, Dec 01, 2026 at 06:35 PM Karl Mehltretter <kmehltretter@xxxxxxxxx> wrote:
> locks. This is deliberately a conservative RT-only guard rather than an
> attempt to classify tracepoint contexts; non-RT is unchanged.

It's not. Patch 1 adds new failures on !RT.

> - Is !preemptible() in can_spin_trylock() on RT an acceptable tradeoff?

No.
Pls do not send stuff straight out of LLM that you don't understand.

pw-bot: cr