]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crypto: wait for a full jiffy in do_xor_speed
authorJim Kukunas <james.t.kukunas@linux.intel.com>
Tue, 24 Apr 2012 00:57:49 +0000 (10:57 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 24 Apr 2012 00:57:49 +0000 (10:57 +1000)
commitf0bce548d1f775c652f817de1cd9f2bcac0bb104
tree0defaaa270df4846277f0788e564f12ade55cb82
parent09c0a01942ac653b0c6cc28504a6c5c2f3f17fd8
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>
crypto/xor.c