diff options
author | Roman Gushchin <guro@fb.com> | 2018-09-28 16:45:40 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-10-01 16:18:32 +0200 |
commit | f294b37ec7b24a574884cd157497a3748081c0f0 (patch) | |
tree | fb5bdf6cf4a5ff61b7a5f84274ae82c123aac7a9 /kernel/cgroup/cpuset.c | |
parent | bpf: extend cgroup bpf core to allow multiple cgroup storage types (diff) | |
download | linux-f294b37ec7b24a574884cd157497a3748081c0f0.tar.xz linux-f294b37ec7b24a574884cd157497a3748081c0f0.zip |
bpf: rework cgroup storage pointer passing
To simplify the following introduction of per-cpu cgroup storage,
let's rework a bit a mechanism of passing a pointer to a cgroup
storage into the bpf_get_local_storage(). Let's save a pointer
to the corresponding bpf_cgroup_storage structure, instead of
a pointer to the actual buffer.
It will help us to handle per-cpu storage later, which has
a different way of accessing to the actual data.
Signed-off-by: Roman Gushchin <guro@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel/cgroup/cpuset.c')
0 files changed, 0 insertions, 0 deletions