[PATCH v4 0/2] random: PREEMPT_RT fixes

Jason A. Donenfeld posted 2 patches 4 years, 4 months ago
drivers/char/random.c         | 109 +++++++++++++++++++---------------
include/trace/events/random.h |   6 --
2 files changed, 62 insertions(+), 53 deletions(-)
[PATCH v4 0/2] random: PREEMPT_RT fixes
Posted by Jason A. Donenfeld 4 years, 4 months ago
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(-)

-- 
2.35.0