[PATCH] replace pseudo_random with standard random calls
joern at wohnheim.fh-wedel.de
Thu Mar 17 13:37:15 EST 2005
On Thu, 17 March 2005 18:22:26 +0000, David Woodhouse wrote:
> My original estimate was that it wouldn't be. If you have to collect
> entropy from JFFS2 version numbers anyway, you're not making a lot of
> progress on the code size. If you feed it into the random pool via a
> cryptographic hash, you do get a better quality of entropy, but it costs
> you a lot of time -- and time during the mount is at a premium already.
Agreed. More thinking then.
You can't tell where a program is going to spend its time. Bottlenecks
occur in surprising places, so don't try to second guess and put in a
speed hack until you've proven that's where the bottleneck is.
-- Rob Pike
More information about the linux-mtd