Thread (1 message) 1 message, 1 author, 2025-08-13

Re: [PATCH v3 net-next 07/12] net-memcg: Introduce mem_cgroup_sk_enabled().

From: Roman Gushchin <roman.gushchin@linux.dev>
Date: 2025-08-13 01:46:44
Also in: cgroups, linux-mm, mptcp

Kuniyuki Iwashima [off-list ref] writes:
The socket memcg feature is enabled by a static key and
only works for non-root cgroup.

We check both conditions in many places.

Let's factorise it as a helper function.

Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Acked-by: Roman Gushchin <roman.gushchin@linux.dev>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help