Re: [PATCH bpf-next 0/5] bpf: bpf maps memory accounting cleanup

2019-05-31 Thread Alexei Starovoitov
On Wed, May 29, 2019 at 6:04 PM Roman Gushchin wrote: > > During my work on memcg-based memory accounting for bpf maps > I've done some cleanups and refactorings of the existing > memlock rlimit-based code. It makes it more robust, unifies > size to pages conversion, size checks and corresponding

[PATCH bpf-next 0/5] bpf: bpf maps memory accounting cleanup

2019-05-29 Thread Roman Gushchin
During my work on memcg-based memory accounting for bpf maps I've done some cleanups and refactorings of the existing memlock rlimit-based code. It makes it more robust, unifies size to pages conversion, size checks and corresponding error codes. Also it adds coverage for cgroup local storage and