bpf: Memcg-based memory accounting for bpf ringbuffer
authorRoman Gushchin <guro@fb.com>
Tue, 1 Dec 2020 21:58:40 +0000 (13:58 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 3 Dec 2020 02:32:45 +0000 (18:32 -0800)
commitbe4035c734d12918866c5eb2c496d420aa80adeb
tree10bc8430426b3aec9b721a36233032710aad2edd
parent353e7af4bf5e7247c35e9ba5beab42904f1b3499
bpf: Memcg-based memory accounting for bpf ringbuffer

Enable the memcg-based memory accounting for the memory used by
the bpf ringbuffer.

Signed-off-by: Roman Gushchin <guro@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20201201215900.3569844-15-guro@fb.com
kernel/bpf/ringbuf.c