diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2024-11-08 10:39:33 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2024-11-09 17:00:46 +0000 |
| commit | 64bdaf963c3ac04a67c8491bea2d0ecfc7d5da96 (patch) | |
| tree | 891d61eae87d1f23bed6470cc132f42d15ee1588 /tools/testing/selftests/net/lib/py/utils.py | |
| parent | scftorture: Wait until scf_cleanup_handler() completes. (diff) | |
| download | kernel-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
