]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bpf: Eliminate rlimit-based memory accounting for devmap maps
authorRoman Gushchin <guro@fb.com>
Tue, 1 Dec 2020 21:58:48 +0000 (13:58 -0800)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:21:52 +0000 (18:21 -0400)
commit70294d8bc31f3b7789e5e32f757aa9344556d964
tree660446ae314c36f2acd65e28d38be03b44035c56
parent6b4a39acafaf0186ed8e97c16e0aa6fca0e52009
bpf: Eliminate rlimit-based memory accounting for devmap maps

[ Upstream commit 844f157f6c0a905d039d2e20212ab3231f2e5eaf ]

Do not use rlimit-based memory accounting for devmap 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-23-guro@fb.com
Stable-dep-of: 281d464a34f5 ("bpf: Fix DEVMAP_HASH overflow check on 32-bit arches")
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/bpf/devmap.c