Here are the two patches we've been looking at thus far in separate threads, now brought together as one patchset. This doesn't fix _all_ of the PREEMPT_RT issues, but it does very much move in the right direction of having less locking in places where that matters. v4 improves on v3 by fixing documentation comments and copying the fast pool to the stack before mixing. Cc: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> Cc: Theodore Ts'o <tytso@xxxxxxx> Cc: Sultan Alsawaf <sultan@xxxxxxxxxxxxxxx> Cc: Jonathan Neuschäfer <j.neuschaefer@xxxxxxx> Cc: Eric Biggers <ebiggers@xxxxxxxxxx> Jason A. Donenfeld (2): random: remove batched entropy locking random: defer fast pool mixing to worker drivers/char/random.c | 109 +++++++++++++++++++--------------- include/trace/events/random.h | 6 -- 2 files changed, 62 insertions(+), 53 deletions(-) -- 2.35.0