mbox series

[v4,0/2] random: PREEMPT_RT fixes

Message ID 20220209125644.533876-1-Jason@zx2c4.com
Headers show
Series random: PREEMPT_RT fixes | expand

Message

Jason A. Donenfeld Feb. 9, 2022, 12:56 p.m. UTC
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@linutronix.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Theodore Ts'o <tytso@mit.edu>
Cc: Sultan Alsawaf <sultan@kerneltoast.com>
Cc: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Cc: Eric Biggers <ebiggers@kernel.org>

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(-)