[MODERATED] Re: [PATCH 2/3] V5 more sampling fun 2
"Luck, Tony" <[email protected]> Mon, 6 Apr 2020 15:14:13 -0700
| Newsgroups | org.kernel.lore.historical-speck |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Apr 06, 2020 at 08:37:56PM +0200, speck for Greg KH wrote:
> On Mon, Apr 06, 2020 at 11:34:17AM -0700, speck for Kees Cook wrote:
> > > + By default, this issue is mitigated by
> > > + microcode. However, the microcode fix can cause
> > > + the RDRAND and RDSEED instructions to become
> > > + much slower. Among other effects, this will
> > > + result in reduced throughput from /dev/urandom.
> >
> > This is this true about /dev/urandom? I thought the RDRAND dependency
> > had been removed?
>
> That dependancy will be removed in 5.7-rc1 and I will be backporting
> that to the stable kernels "soon".
>
Is that still somee patch pending for the merge window? I see
Jason Donendfeld's patch to speed up the internal get_random_u32()
and get_random_u64(). But that patch doesn't help /dev/urandom
of the getrandom(2) syscalls.
urandom_read() or SYSCALL_DEFINE3(getrandom)
urandom_read_nowarn()
extract_crng_user()
extract_crng()
_extract_crng()
arch_get_random_long()
-Tony