Re: [PATCH] ipc: remove memcg accounting for sops objects in do_semtimedop()

From: Shakeel Butt
Date: Tue Sep 14 2021 - 00:32:48 EST


On Mon, Sep 13, 2021 at 1:37 AM Michal Hocko <mhocko@xxxxxxxx> wrote:
>
[...]
> > However Shakeel Butt pointed that there are much more popular objects
> > with the same life time and similar memory consumption, the accounting
> > of which was decided to be rejected for performance reasons.
>
> Is there any measurable performance impact in this particular case?
>

I don't think there was any regression report or any performance
evaluation. Linus raised the concern on the potential performance
impact. I suggested to backoff for this allocation for now and revisit
again once we have improved the memcg accounting for kernel memory.