Skip to content
Snippets Groups Projects
Commit 70294d8b authored by Roman Gushchin's avatar Roman Gushchin Committed by Sasha Levin
Browse files

bpf: Eliminate rlimit-based memory accounting for devmap maps


[ Upstream commit 844f157f ]

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

Signed-off-by: default avatarRoman Gushchin <guro@fb.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Acked-by: default avatarSong Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20201201215900.3569844-23-guro@fb.com


Stable-dep-of: 281d464a ("bpf: Fix DEVMAP_HASH overflow check on 32-bit arches")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6b4a39ac
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment