diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2024-11-08 11:39:33 +0100 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2024-11-09 09:00:46 -0800 |
commit | 64bdaf963c3ac04a67c8491bea2d0ecfc7d5da96 (patch) | |
tree | 891d61eae87d1f23bed6470cc132f42d15ee1588 /drivers/fpga/fpga-mgr.c | |
parent | 43082cd579fbeea2ed90982f1c875bbdb2bcad2e (diff) |
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 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions