[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2v2te3knj66aszw6chn6m2u7chtje7r5ayrtufwop5c4vftx7o@kbf2ry2bgo3r>
Date: Tue, 19 Aug 2025 18:28:42 -0700
From: Shakeel Butt <shakeel.butt@...ux.dev>
To: Jakub Kicinski <kuba@...nel.org>
Cc: Kuniyuki Iwashima <kuniyu@...gle.com>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Neal Cardwell <ncardwell@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
Willem de Bruijn <willemb@...gle.com>, Matthieu Baerts <matttbe@...nel.org>,
Mat Martineau <martineau@...nel.org>, Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...nel.org>, Roman Gushchin <roman.gushchin@...ux.dev>,
Andrew Morton <akpm@...ux-foundation.org>, Michal Koutný <mkoutny@...e.com>,
Tejun Heo <tj@...nel.org>, Simon Horman <horms@...nel.org>,
Geliang Tang <geliang@...nel.org>, Muchun Song <muchun.song@...ux.dev>,
Mina Almasry <almasrymina@...gle.com>, Kuniyuki Iwashima <kuni1840@...il.com>, netdev@...r.kernel.org,
mptcp@...ts.linux.dev, cgroups@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH v5 net-next 09/10] net-memcg: Pass struct sock to
mem_cgroup_sk_under_memory_pressure().
On Tue, Aug 19, 2025 at 06:23:56PM -0700, Jakub Kicinski wrote:
> On Fri, 15 Aug 2025 20:16:17 +0000 Kuniyuki Iwashima wrote:
> > We will store a flag in the lowest bit of sk->sk_memcg.
> >
> > Then, we cannot pass the raw pointer to mem_cgroup_under_socket_pressure().
> >
> > Let's pass struct sock to it and rename the function to match other
> > functions starting with mem_cgroup_sk_.
> >
> > Note that the helper is moved to sock.h to use mem_cgroup_from_sk().
> >
> > Signed-off-by: Kuniyuki Iwashima <kuniyu@...gle.com>
> > Reviewed-by: Eric Dumazet <edumazet@...gle.com>
> > Acked-by: Roman Gushchin <roman.gushchin@...ux.dev>
>
> Hi Shakeel, looks like you acked every single patch here but this one.
> Is this intentional? :)
Nopes, sorry I missed it somehow. Please add:
Acked-by: Shakeel Butt <shakeel.butt@...ux.dev>
Powered by blists - more mailing lists