]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit681ef89c00f35b2ad9531fb327faa71c233b8a2c
tree10bc8430426b3aec9b721a36233032710aad2edd
parentd3d7ba066af7fda4a04a511ec918ab822c8bdc2e
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