diff options
author | Matt Mackall <mpm@selenic.com> | 2008-04-29 04:03:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:25 -0400 |
commit | 6d38b827400d7c02bce391f90d044e4c57d5bc1e (patch) | |
tree | 826f378b9654d4e5b56d7e372c5d2d5eafd09c2f /crypto/xor.c | |
parent | feee76972bcc54b2b1d1dc28bc6c16a8daa9aff8 (diff) |
random: remove some prefetch logic
The urandom output pool (ie the fast path) fits in one cacheline, so
this is pretty unnecessary. Further, the output path has already
fetched the entire pool to hash it before calling in here.
(This was the only user of prefetch_range in the kernel, and it passed
in words rather than bytes!)
Signed-off-by: Matt Mackall <mpm@selenic.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/xor.c')
0 files changed, 0 insertions, 0 deletions