diff options
| author | Alexei Starovoitov <[email protected]> | 2021-02-09 19:36:33 -0800 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-02-11 16:19:26 +0100 |
| commit | 638e4b825d523bed7a55e776c153049fb7716466 (patch) | |
| tree | 38d2be95b066239f129046a77169fe64bb43925d /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | dcf33b6f4de173818540e3a2a0668c80a1ebdc68 (diff) | |
bpf: Allows per-cpu maps and map-in-map in sleepable programs
Since sleepable programs are now executing under migrate_disable
the per-cpu maps are safe to use.
The map-in-map were ok to use in sleepable from the time sleepable
progs were introduced.
Note that non-preallocated maps are still not safe, since there is
no rcu_read_lock yet in sleepable programs and dynamically allocated
map elements are relying on rcu protection. The sleepable programs
have rcu_read_lock_trace instead. That limitation will be addresses
in the future.
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Acked-by: KP Singh <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions