Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpf: add memlock precharge check for cgroup_local_storage
ANBZ: torvalds#26 commit ffc8b14 upstream 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> Signed-off-by: Qiao Ma <mqaio@linux.alibaba.com> Acked-by: Tony Lu <tonylu@linux.alibaba.com>
- Loading branch information