Re: [PATCH net v2] net/packet: account user-triggered allocations to memcg

From: Willem de Bruijn

Date: Fri Oct 30 2026 - 13:08:46 EST


Ahmad AG wrote:
> Thanks. I will send a v3 to net-next, without the Fixes and stable
> tags, keeping the allocations that scale with user input (ring
> buffers, fanout array, membership entries) and leaving the small
> fixed-size per-socket ones such as the rollover state alone. I will
> add __GFP_NOWARN to the vmalloc fallback.

Just be careful that net-next is closed.

It makes sense to send this to net, just probably not stable
material.