On Tuesday, June 17, 2014 at 09:16:03 AM, Amos Kong wrote:
[...]
While looking at this code, can anyone explain to me why we have this
stuff in crypto/xor.c please ?
135 #define xor_speed(templ)do_xor_speed((templ), b1, b2)
136
137 if (fastest) {
138
On Thu, Jun 05, 2014 at 11:57:55PM +0200, Marek Vasut wrote:
On Thursday, June 05, 2014 at 03:11:33 AM, Amos Kong wrote:
In crypto/xor.c: calibrate_xor_blocks(), we allocated total 4 pages to
do xor speed testing, the BENCH_SIZE is 1 page, and we skipped 2 pages
when we set b2.
It
On Thursday, June 05, 2014 at 03:11:33 AM, Amos Kong wrote:
In crypto/xor.c: calibrate_xor_blocks(), we allocated total 4 pages to
do xor speed testing, the BENCH_SIZE is 1 page, and we skipped 2 pages
when we set b2.
It seems that total 2 pages are enough without skipping 2 pages.
In crypto/xor.c: calibrate_xor_blocks(), we allocated total 4 pages to
do xor speed testing, the BENCH_SIZE is 1 page, and we skipped 2 pages
when we set b2.
It seems that total 2 pages are enough without skipping 2 pages.
Signed-off-by: Amos Kong ak...@redhat.com
---
crypto/xor.c | 6 +++---
1