TencentOS-kernel/kernel/cgroup
Andrii Nakryiko 934580b7c0 bpf: Refactor bpf_link update handling
[upstream commit f9d041271cf44ca02eed0cc82e1a6d8c814c53ed]

Make bpf_link update support more generic by making it into another
bpf_link_ops methods. This allows generic syscall handling code to be agnostic
to various conditionally compiled features (e.g., the case of
CONFIG_CGROUP_BPF). This also allows to keep link type-specific code to remain
static within respective code base. Refactor existing bpf_cgroup_link code and
take advantage of this.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200429001614.1544-2-andriin@fb.com
2022-06-21 10:27:09 +08:00
..
Makefile sli: Introduce memory and sched latency stat infrastructure 2021-10-29 06:51:52 +00:00
cgroup-internal.h cgroup: add cgroup.id to show each css id within a cgroup 2022-06-21 10:27:04 +08:00
cgroup-v1.c cgroup: add cgroup.id to show each css id within a cgroup 2022-06-21 10:27:04 +08:00
cgroup.c bpf: Refactor bpf_link update handling 2022-06-21 10:27:09 +08:00
cpuset.c cgroupfs: support stat based on cpuacct 2022-05-18 14:43:14 +08:00
debug.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
freezer.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
legacy_freezer.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
mbuf.c sli/cpu: introduce longsys check 2021-10-29 06:51:52 +00:00
namespace.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
pids.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
rdma.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
rstat.c Revert "cgroup: Add memory barriers to plug cgroup_rstat_updated() race window" 2021-03-16 16:28:43 +08:00
sli.c sli/kabi: add the kabi reserve space for sli structure 2022-04-18 21:10:23 +08:00