diff options
author | Jim Kukunas <james.t.kukunas@linux.intel.com> | 2012-05-22 13:54:03 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-05-22 13:54:03 +1000 |
commit | 6a328475cccacb99a13b06978091da936dd51d89 (patch) | |
tree | f4fc193b5ec71f7c7dfc0a33341d80a2c103c205 /samples | |
parent | 3ea7daa5d7fde47cd41f4d56c2deb949114da9d6 (diff) | |
download | linux-6a328475cccacb99a13b06978091da936dd51d89.tar.gz linux-6a328475cccacb99a13b06978091da936dd51d89.tar.bz2 linux-6a328475cccacb99a13b06978091da936dd51d89.zip |
crypto: wait for a full jiffy in do_xor_speed
In the existing do_xor_speed(), there is no guarantee that we actually
run do_2() for a full jiffy. We get the current jiffy, then run do_2()
until the next jiffy.
Instead, let's get the current jiffy, then wait until the next jiffy
to start our test.
Signed-off-by: Jim Kukunas <james.t.kukunas@linux.intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions