Messages in this thread | | | From | Sebastian Andrzej Siewior <> | Subject | [PATCH 0/5] random: Add PREEMPT_RT support. | Date | Tue, 7 Dec 2021 13:17:32 +0100 |
| |
The entropy_store::lock can not be acquired with disabled interrupts on PREEMPT_RT because it is a sleeping lock. The lock is acquired from hard-irq context while the primary interrupt handler is invoked. The series restructures the code a little so the lock is only acquired in process context on PREEMPT_RT while it remains as-is for non-RT.
The first two patches remove unused arguments from functions. The following two reshuffle the code a little while the last one addresses the PREEMPT_RT related issue.
Sebastian
| |