+
Skip to content

Tags: luainkernel/linux

Tags

v5.10.41-xdplua

Toggle v5.10.41-xdplua's commit message
Add files for performance test

v4.19.0-xdplua-hashmap-fixup

Toggle v4.19.0-xdplua-hashmap-fixup's commit message
bpf: Zero-fill re-used per-cpu map element

Zero-fill element values for all other cpus than current, just as
when not using prealloc. This is the only way the bpf program can
ensure known initial values for all cpus ('onallcpus' cannot be
set when coming from the bpf program).

The scenario is: bpf program inserts some elements in a per-cpu
map, then deletes some (or userspace does). When later adding
new elements using bpf_map_update_elem(), the bpf program can
only set the value of the new elements for the current cpu.
When prealloc is enabled, previously deleted elements are re-used.
Without the fix, values for other cpus remain whatever they were
when the re-used entry was previously freed.

A selftest is added to validate correct operation in above
scenario as well as in case of LRU per-cpu map element re-use.

Fixes: 6c90598 ("bpf: pre-allocate hash map elements")
Signed-off-by: David Verbeiren <david.verbeiren@tessares.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20201104112332.15191-1-david.verbeiren@tessares.net

v4.19.0-xdplua_debug

Toggle v4.19.0-xdplua_debug's commit message
Update luaunpack with kernel panic fix

debug

Toggle debug's commit message
Update luaunpack with kernel panic fix

v4.19.142-xdplua_test_1

Toggle v4.19.142-xdplua_test_1's commit message
Update luaunpack with kernel panic fix

v4.19-xdplua_test_1

Toggle v4.19-xdplua_test_1's commit message
Update luaunpack with kernel panic fix

v4.19.142-xdplua_test

Toggle v4.19.142-xdplua_test's commit message
fixup! add LuaXDP submodule

v4.19-xdplua_test

Toggle v4.19-xdplua_test's commit message
v4.19-xdplua-test

v5.2-rc2

Toggle v5.2-rc2's commit message
Linux 5.2-rc2

v5.2-rc1

Toggle v5.2-rc1's commit message
Linux 5.2-rc1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载