]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Eliminate rlimit-based memory accounting for lpm_trie maps
authorRoman Gushchin <guro@fb.com>
Tue, 1 Dec 2020 21:58:50 +0000 (13:58 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 3 Dec 2020 02:32:46 +0000 (18:32 -0800)
commit36a204eff07408970daa134cfa8d15cb46f9522d
treeb2951dab8b5df32da23cc32fe1ab472950714fce
parent8ceb35788010df9e4d5b424c0af7d866c3e68e05
bpf: Eliminate rlimit-based memory accounting for lpm_trie maps

Do not use rlimit-based memory accounting for lpm_trie maps.
It has been replaced with the memcg-based memory accounting.

Signed-off-by: Roman Gushchin <guro@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20201201215900.3569844-25-guro@fb.com
kernel/bpf/lpm_trie.c