Re: [PATCH v7 10/10] memcg: enable accounting for ldt_struct objects
From: Shakeel Butt <hidden>
Date: 2021-07-27 22:37:11
Also in:
lkml
From: Shakeel Butt <hidden>
Date: 2021-07-27 22:37:11
Also in:
lkml
On Mon, Jul 26, 2021 at 10:34 PM Vasily Averin [off-list ref] wrote:
Each task can request own LDT and force the kernel to allocate up to 64Kb memory per-mm. There are legitimate workloads with hundreds of processes and there can be hundreds of workloads running on large machines. The unaccounted memory can cause isolation issues between the workloads particularly on highly utilized machines. It makes sense to account for this objects to restrict the host's memory consumption from inside the memcg-limited container. Signed-off-by: Vasily Averin <redacted> Acked-by: Borislav Petkov <redacted>
Reviewed-by: Shakeel Butt <redacted>