Messages in this thread | | | Date | Sat, 19 May 2018 17:55:19 -0400 | From | "Theodore Y. Ts'o" <> | Subject | Re: random: Wake up writers when random pools are zapped |
| |
On Fri, May 18, 2018 at 02:57:36PM +0800, Herbert Xu wrote: > As it is when the pool is zapped with RNDCLEARPOOL writers are > not woken up and therefore the pool may remain in the empty state > indefinitely. > > This patch wakes them up unless the write threshold is set to zero. > > Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Thanks, applied.
Out of curiosity, how/when were you using RNDCLEARPOOL/RNDZAPENTCNT? Hopefully it was only testing hw_random drivers, or some such?
- Ted
| |