summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2024-11-08 13:39:33 +0300
committerPaul E. McKenney <paulmck@kernel.org>2024-11-09 20:00:46 +0300
commit64bdaf963c3ac04a67c8491bea2d0ecfc7d5da96 (patch)
tree891d61eae87d1f23bed6470cc132f42d15ee1588 /tools/perf/scripts/python/event_analyzing_sample.py
parent43082cd579fbeea2ed90982f1c875bbdb2bcad2e (diff)
downloadlinux-64bdaf963c3ac04a67c8491bea2d0ecfc7d5da96.tar.xz
scftorture: Move memory allocation outside of preempt_disable region.
Memory allocations can not happen within regions with explicit disabled preemption PREEMPT_RT. The problem is that the locking structures underneath are sleeping locks. Move the memory allocation outside of the preempt-disabled section. Keep the GFP_ATOMIC for the allocation to behave like a "ememergncy allocation". Tested-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Reviewed-by: Boqun Feng <boqun.feng@gmail.com> Tested-by: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions