Re: [PATCH net v4 0/2] stmmac crash/stall fixes when under memory pressure

From: Sam Edwards

Date: Thu Apr 02 2026 - 12:58:45 EST


On Thu, Apr 2, 2026 at 8:05 AM Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
> I meant we need both a threshold, and a delay :(

Hi Jakub - got it: when the critical threshold is reached, allow the
NAPI instance to sleep and start a timer instead.

1) We'd either have to leave interrupts masked or let them race
against the timer. Either one is manageable, but I feel like those
interactions carry *just* enough regression risk to bump that patch to
-next.

2) Could you point out which NAPI driver best handles this situation?
I'd like to replicate its approach.

Thanks,
Sam