Re: [PATCH v3 1/3] misc_cgroup: introduce misc.events to count failures

From: Michal Koutný
Date: Thu Sep 16 2021 - 13:52:23 EST


On Wed, Sep 15, 2021 at 10:18:49AM +0800, brookxu <brookxu.cn@xxxxxxxxx> wrote:
> From: Chunguang Xu <brookxu@xxxxxxxxxxx>
>
> Introduce misc.events to make it easier for us to understand
> the pressure of resources. Currently only the 'max' event is
> implemented, which indicates the times the resource is about
> to exceeds the max limit.
>
> Signed-off-by: Chunguang Xu <brookxu@xxxxxxxxxxx>
> ---
>
> v3: remove misc.events.local.
> v2: remove cgroup v1 files.
>
> include/linux/misc_cgroup.h | 5 +++++
> kernel/cgroup/misc.c | 24 ++++++++++++++++++++++++
> 2 files changed, 29 insertions(+)

LGTM,
Reviewed-by: Michal Koutný <mkoutny@xxxxxxxx>