Thread (2 messages) 2 messages, 2 authors, 2021-07-27

Re: [PATCH v7 04/10] memcg: enable accounting for fasync_cache

From: Shakeel Butt <hidden>
Date: 2021-07-27 21:51:05
Also in: linux-fsdevel, lkml

On Mon, Jul 26, 2021 at 10:33 PM Vasily Averin [off-list ref] wrote:
fasync_struct is used by almost all character device drivers to set up
the fasync queue, and for regular files by the file lease code.
This structure is quite small but long-living and it can be assigned
for any open file.

It makes sense to account for its allocations to restrict the host's
memory consumption from inside the memcg-limited container.

Signed-off-by: Vasily Averin <redacted>
Reviewed-by: Shakeel Butt <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help