Messages in this thread | | | Date | Thu, 15 Sep 2022 16:43:54 +0100 | From | "Jason A. Donenfeld" <> | Subject | Re: [PATCH v2 1/2] random: move add_hwgenerator_randomness()'s wait outside function |
| |
Hi Sven,
On Thu, Sep 15, 2022 at 12:22:53AM +0000, Sven van Ashbrook wrote: > add_hwgenerator_randomness() currently blocks until more entropy > is needed. Move the blocking wait out of the function to the caller, > by letting the function return the number of jiffies needed to block. > > This is done to prepare the function's sole kernel caller from a > kthread to self-rearming delayed_work.
Isn't Dominik working on the same thing, but slightly different? I recall he sent a patch recently, which looked pretty good, except it just needed to be split up. I'm waiting for his v2. Does this build on that?
Jason
| |