Re: [PATCH v6 00/34] bpf: switch to memcg-based memory accounting

2020-11-16 Thread Roman Gushchin
On Mon, Nov 16, 2020 at 06:54:55PM -0800, Roman Gushchin wrote: > Currently bpf is using the memlock rlimit for the memory accounting. > This approach has its downsides and over time has created a significant > amount of problems: > I'm sorry, I've missed the "bpf-next" prefix in the subject. Res

[PATCH v6 00/34] bpf: switch to memcg-based memory accounting

2020-11-16 Thread Roman Gushchin
Currently bpf is using the memlock rlimit for the memory accounting. This approach has its downsides and over time has created a significant amount of problems: 1) The limit is per-user, but because most bpf operations are performed as root, the limit has a little value. 2) It's hard to come u