diff options
author | Roman Gushchin <guro@fb.com> | 2018-08-02 23:27:21 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-08-03 00:47:32 +0200 |
commit | 394e40a29788820c9c0526b1c3497c9e0ec2a126 (patch) | |
tree | f82d888493270cd2df836923c98f5c12fe8d7bab /kernel/kexec.c | |
parent | bpf: allocate cgroup storage entries on attaching bpf programs (diff) | |
download | linux-394e40a29788820c9c0526b1c3497c9e0ec2a126.tar.xz linux-394e40a29788820c9c0526b1c3497c9e0ec2a126.zip |
bpf: extend bpf_prog_array to store pointers to the cgroup storage
This patch converts bpf_prog_array from an array of prog pointers
to the array of struct bpf_prog_array_item elements.
This allows to save a cgroup storage pointer for each bpf program
efficiently attached to a cgroup.
Signed-off-by: Roman Gushchin <guro@fb.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel/kexec.c')
0 files changed, 0 insertions, 0 deletions