Revision f81074f86176605bfbfafb9944e27628a4e26ce6 authored by Stephen Hemminger on 25 January 2010, 23:47:50 UTC, committed by David S. Miller on 25 January 2010, 23:47:50 UTC
By rounding up the buffer size to power of 2, several expensive
modulus operations can be avoided.  This patch also solves a bug where
the gap need when ring gets full was not being accounted for.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 4f9a91c
History
File Mode Size
Kconfig -rw-r--r-- 397 bytes
Makefile -rw-r--r-- 306 bytes
async_memcpy.c -rw-r--r-- 3.0 KB
async_memset.c -rw-r--r-- 2.6 KB
async_pq.c -rw-r--r-- 12.5 KB
async_raid6_recov.c -rw-r--r-- 14.0 KB
async_tx.c -rw-r--r-- 7.8 KB
async_xor.c -rw-r--r-- 9.8 KB
raid6test.c -rw-r--r-- 6.3 KB

back to top