summaryrefslogtreecommitdiff
path: root/kernel/bpf/stackmap.c
diff options
context:
space:
mode:
authorRoman Gushchin <guro@fb.com>2019-05-30 04:03:55 +0300
committerAlexei Starovoitov <ast@kernel.org>2019-06-01 02:52:56 +0300
commitffc8b144d5d056dd0ab8d995c7345cdd6a589fc7 (patch)
tree523f1fef5ad42f9e282d30390dc8ceb16d813d6c /kernel/bpf/stackmap.c
parent576240cfaf206ea7d08ae7421088a788d861212d (diff)
downloadlinux-ffc8b144d5d056dd0ab8d995c7345cdd6a589fc7.tar.xz
bpf: add memlock precharge check for cgroup_local_storage
Cgroup local storage maps lack the memlock precharge check, which is performed before the memory allocation for most other bpf map types. Let's add it in order to unify all map types. Signed-off-by: Roman Gushchin <guro@fb.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions