diff options
author | Roman Gushchin <guro@fb.com> | 2019-05-29 18:03:56 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-05-31 16:52:56 -0700 |
commit | d50836cda698f6966e63c2c7f718d7c2f687ec8a (patch) | |
tree | c9491529cefef7904504ba174973f96cbd73aff7 /include/linux | |
parent | ffc8b144d5d056dd0ab8d995c7345cdd6a589fc7 (diff) | |
download | linux-stable-d50836cda698f6966e63c2c7f718d7c2f687ec8a.tar.gz linux-stable-d50836cda698f6966e63c2c7f718d7c2f687ec8a.tar.bz2 linux-stable-d50836cda698f6966e63c2c7f718d7c2f687ec8a.zip |
bpf: add memlock precharge for socket local storage
Socket 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 'include/linux')
0 files changed, 0 insertions, 0 deletions