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)
commitcbddcb574d419fd5b70c5f87ba733feec6147aeb
treeb2951dab8b5df32da23cc32fe1ab472950714fce
parent755e5d55367af5ff75a4db9b6cf439416878e2c7
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