summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-02-24 17:01:33 +0300
committerAlexei Starovoitov <ast@kernel.org>2020-02-25 03:12:19 +0300
commit2ed905c521e56aead6987df94c083efb0ee59895 (patch)
treeda9db871359f60fed6910b5df34298e5ecada9a6 /tools/perf/scripts/python/export-to-postgresql.py
parent94dacdbd5d2dfa2cffd308f128d78c99f855f5be (diff)
downloadlinux-2ed905c521e56aead6987df94c083efb0ee59895.tar.xz
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 <tglx@linutronix.de> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200224145642.648784007@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions