Re: [PATCH net-next] tcp: account for memory pressure signaled by cgroup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 7, 2025 at 3:55 AM Daniel Sedlak <daniel.sedlak@xxxxxxxxx> wrote:
>
> Currently, we have two memory pressure counters for TCP sockets [1],
> which we manipulate only when the memory pressure is signalled through
> the proto struct [2].
>
> However, the memory pressure can also be signaled through the cgroup
> memory subsystem, which we do not reflect in the netstat counters.
>
> This patch adds a new counter to account for memory pressure signaled by
> the memory cgroup.

OK, but please amend the changelog to describe how to look at the
per-cgroup information.

Imagine that in the future, someone finds this new counter being
incremented and look at your changelog,
I am sure that having some details on how to find the faulty cgroup
would also help.





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux