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

From: Karl Mehltretter

Date: Wed Dec 02 2026 - 01:09:22 EST


On Wed, Dec 02, 2026 at 04:11:47AM +0100, Alexei Starovoitov wrote:
> 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.
>

Sorry I tried to revisit this after the stalled v2 discussion and got it
wrong.

Thanks for the review.

Karl