Re: [mpm@selenic.com: Re: buggy ia64_fls() ? (was Re: /dev/random problem on 2.6.12-rc1)]

Matt Mackall
2005-04-09T00:28:27Z

On Fri, Apr 08, 2005 at 05:21:06PM -0700, David Mosberger wrote:
> Here is a first cut for the patch. It compiles with gcc 3.3 and 3.4
> and boots on Ski. Assuming nobody finds any issues, I'll make a final
> patch tonight.

Looks good. Can you verify that /proc/sys/kernel/random/entropy_avail
has sane values in it (eg building up to ~3500 and then slowly
approaching 4096)? random.c now uses fls and fls(0) was causing all
the entropy to vanish.

--
Mathematics is the supreme nostalgia of our time.