Re: [PATCH] /dev/random: Insufficient of entropy on many architectures

From: H. Peter Anvin
Date: Thu Sep 12 2013 - 16:47:05 EST


On 09/10/2013 05:50 PM, Theodore Ts'o wrote:
>
> Right now, if get_cycles() returns 0, we fall back to only mixing in
> the IP register from the interrupt plus the jiffies counter. The
> platforms where get_cycles returns 0 is:
>
> - User mode Linux

UML (on x86) should be able to use RDTSC just fine; it might be
meaningless for anything *other* than random though...

-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/