[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAVpQUCUf7LbREaUzEVK3_j=01Xfo452anr+-DF0K9UW7KbRfA@mail.gmail.com>
Date: Tue, 14 Oct 2025 20:00:13 -0700
From: Kuniyuki Iwashima <kuniyu@...gle.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Neal Cardwell <ncardwell@...gle.com>,
Simon Horman <horms@...nel.org>, Willem de Bruijn <willemb@...gle.com>, netdev@...r.kernel.org,
eric.dumazet@...il.com
Subject: Re: [PATCH v1 net-next 1/4] net: add SK_WMEM_ALLOC_BIAS constant
On Mon, Oct 13, 2025 at 8:22 AM Eric Dumazet <edumazet@...gle.com> wrote:
>
> sk->sk_wmem_alloc is initialized to 1, and sk_wmem_alloc_get()
> takes care of this initial value.
>
> Add SK_WMEM_ALLOC_BIAS define to not spread this magic value.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reviewed-by: Neal Cardwell <ncardwell@...gle.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@...gle.com>
Powered by blists - more mailing lists