Skip to content

random: PREEMPT_RT fixes

Jason A. Donenfeld linux-crypto lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 7 repliesIn review
  2. v3 posting 2/22 patches 5 repliesSuperseded
  3. v3 posting 1/21 patch 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v21 patch8 repliesSuperseded
v11 patch7 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2random: remove batched entropy lockingdrivers/char/random.c+28 -272 replies
2/2random: defer fast pool mixing to workerdrivers/char/random.c include/trace/events/random.h+34 -2612 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJonathan NeuschäferSebastian Andrzej SiewiorEric Biggers
1/2T-b R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/2] random: PREEMPT_RT fixes

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 <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Theodore Ts'o <[email protected]>
Cc Sultan Alsawaf <[email protected]>
Cc Jonathan Neuschäfer <[email protected]>
Cc Eric Biggers <[email protected]>

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(-)
Signature · 1 line
2.35.0