diff options
| author | Andrii Nakryiko <[email protected]> | 2020-06-12 19:45:04 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-06-12 22:27:47 +0000 |
| commit | caf62492f479585296e9d636c798d5ac256b7b04 (patch) | |
| tree | 03150a668bc94cea09c896dbaa58d18266b7557d /drivers/pci/controller/pci-host-generic.c | |
| parent | tools/bpftool: Fix skeleton codegen (diff) | |
| download | kernel-caf62492f479585296e9d636c798d5ac256b7b04.tar.gz kernel-caf62492f479585296e9d636c798d5ac256b7b04.zip | |
libbpf: Support pre-initializing .bss global variables
Remove invalid assumption in libbpf that .bss map doesn't have to be updated
in kernel. With addition of skeleton and memory-mapped initialization image,
.bss doesn't have to be all zeroes when BPF map is created, because user-code
might have initialized those variables from user-space.
Fixes: eba9c5f498a1 ("libbpf: Refactor global data map initialization")
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/pci/controller/pci-host-generic.c')
0 files changed, 0 insertions, 0 deletions
