lkml.org 
[lkml]   [2017]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[GIT PULL] random bug fixes for 4.12
The following changes since commit 9dfa7bba35ac08a63565d58c454dccb7e1bb0a08:

fix race in drivers/char/random.c:get_reg() (2017-05-24 17:41:26 -0400)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random.git tags/random_for_linus_stable

for you to fetch changes up to b169c13de473a85b3c859bb36216a4cb5f00a54a:

random: invalidate batched entropy after crng init (2017-06-07 19:45:37 -0400)

----------------------------------------------------------------
Improve performance by using a lockless update mechanism suggested by
Linus, and make sure we refresh per-CPU entropy returned get_random_*
as soon as the CRNG is initialized.

----------------------------------------------------------------
Jason A. Donenfeld (1):
random: invalidate batched entropy after crng init

Theodore Ts'o (1):
random: use lockless method of accessing and updating f->reg_idx

drivers/char/random.c | 49 +++++++++++++++++++++++++++++++++++++++++++------
1 file changed, 43 insertions(+), 6 deletions(-)

\
 
 \ /
  Last update: 2017-06-12 01:58    [W:0.049 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site