diff options
| author | Thomas Gleixner <[email protected]> | 2020-02-24 15:01:33 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-02-24 16:12:19 -0800 |
| commit | 2ed905c521e56aead6987df94c083efb0ee59895 (patch) | |
| tree | da9db871359f60fed6910b5df34298e5ecada9a6 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 94dacdbd5d2dfa2cffd308f128d78c99f855f5be (diff) | |
bpf: Enforce preallocation for instrumentation programs on RT
Aside of the general unsafety of run-time map allocation for
instrumentation type programs RT enabled kernels have another constraint:
The instrumentation programs are invoked with preemption disabled, but the
memory allocator spinlocks cannot be acquired in atomic context because
they are converted to 'sleeping' spinlocks on RT.
Therefore enforce map preallocation for these programs types when RT is
enabled.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions