From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751988AbdFKSox (ORCPT ); Sun, 11 Jun 2017 14:44:53 -0400 Received: from imap.thunk.org ([74.207.234.97]:40930 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751794AbdFKSow (ORCPT ); Sun, 11 Jun 2017 14:44:52 -0400 Date: Sun, 11 Jun 2017 14:44:50 -0400 From: "Theodore Ts'o" To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org Subject: [GIT PULL] random bug fixes for 4.12 Message-ID: <20170611184450.lbbpmltwuvbpcvug@thunk.org> Mail-Followup-To: Theodore Ts'o , torvalds@linux-foundation.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-)