On Sun, Sep 29, 2019 at 6:16 PM Linus Torvalds <torva...@linux-foundation.org> wrote: > > But I've committed that patch and the revert of the ext4 revert to a > local branch, I'll do some basic testing of it (which honestly on my > machines are kind of pointless, since all of them support rdrand), but > assuming it passes the basic smoke tests - and I expect it to - I'll > merge it for rc1.
All my smoke testing looked fine - I disabled trusting the CPU, I increased the required entropy a lot, and to actually trigger the lockup issue without the broken user space, I made /dev/urandom do that "wait for entropy" thing too. It all looked sane to me, and the urandom part also had the side effect of then silencing all the "reading urandom without entropy" warning cases as expected. So it's merged. Note that what I merged did _not_ contain the urandom changes, that was purely for my testing. But it might well be a reasonable thing to do at some point. Of course, whether this jitter-entropy approach is reasonable in the first place ends up likely being debated, but it does seem to be the simplest way forward. Linus