[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180519215519.GA23448@thunk.org>
Date: Sat, 19 May 2018 17:55:19 -0400
From: "Theodore Y. Ts'o" <tytso@....edu>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
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@...dor.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
Powered by blists - more mailing lists