diff options
author | 2023-03-05 12:46:15 +0000 | |
---|---|---|
committer | 2023-03-07 09:33:43 -0800 | |
commit | 6b4a6ea2c62d34272d64161d43a19c02355576e2 (patch) | |
tree | 33e31263163cc0d003c2942de91b147606a60e38 /scripts/generate_rust_analyzer.py | |
parent | bpf: offload map memory usage (diff) | |
download | linux-rng-6b4a6ea2c62d34272d64161d43a19c02355576e2.tar.xz linux-rng-6b4a6ea2c62d34272d64161d43a19c02355576e2.zip |
bpf: enforce all maps having memory usage callback
We have implemented memory usage callback for all maps, and we enforce
any newly added map having a callback as well. We check this callback at
map creation time. If it doesn't have the callback, we will return
EINVAL.
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Link: https://lore.kernel.org/r/20230305124615.12358-19-laoar.shao@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions