aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2024-11-08 10:39:33 +0000
committerPaul E. McKenney <[email protected]>2024-11-09 17:00:46 +0000
commit64bdaf963c3ac04a67c8491bea2d0ecfc7d5da96 (patch)
tree891d61eae87d1f23bed6470cc132f42d15ee1588 /tools/testing/selftests/net/lib/py/utils.py
parentscftorture: Wait until scf_cleanup_handler() completes. (diff)
downloadkernel-64bdaf963c3ac04a67c8491bea2d0ecfc7d5da96.tar.gz
kernel-64bdaf963c3ac04a67c8491bea2d0ecfc7d5da96.zip
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 <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Reviewed-by: Boqun Feng <[email protected]> Tested-by: Boqun Feng <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions