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 | 86a6bf2803f7252480bed3c36b9bb0775888308f (patch) | |
tree | e202bbde7dc0d066f68650841f96db5f3e99ffaf /crypto/xts.c | |
parent | acdc6cb9a4bec57e322dacb623758765d85e7324 (diff) | |
download | linux-crypto-86a6bf2803f7252480bed3c36b9bb0775888308f.tar.gz linux-crypto-86a6bf2803f7252480bed3c36b9bb0775888308f.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 'crypto/xts.c')
0 files changed, 0 insertions, 0 deletions