diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2012-07-27 22:26:08 -0400 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-08-10 00:24:56 +0100 |
commit | 7499bd63d777215d16810b6fc9bd58fe83b4e576 (patch) | |
tree | d088f35417b083891efdb5d60ce3a9a98ecf4dfd /lib/debugobjects.c | |
parent | 46b4d87ec53d166d2a62aae30d15a24783c3275f (diff) |
random: mix in architectural randomness in extract_buf()
commit d2e7c96af1e54b507ae2a6a7dd2baf588417a7e5 upstream.
Mix in any architectural randomness in extract_buf() instead of
xfer_secondary_buf(). This allows us to mix in more architectural
randomness, and it also makes xfer_secondary_buf() faster, moving a
tiny bit of additional CPU overhead to process which is extracting the
randomness.
[ Commit description modified by tytso to remove an extended
advertisement for the RDRAND instruction. ]
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: DJ Johnston <dj.johnston@intel.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions