mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 14:44:12 +00:00
dcd3e1de9d
With csum_partial(), which reads all bytes into registers it is easy to also implement csum_partial_copy_nocheck() which copies the buffer while calculating its checksum. For a 512 byte buffer this reduces the runtime by 19%. Compared to the old generic variant (memcpy() + cksm instruction) runtime is reduced by 42%). Signed-off-by: Heiko Carstens <hca@linux.ibm.com> |
||
---|---|---|
.. | ||
expoline | ||
csum-partial.c | ||
delay.c | ||
error-inject.c | ||
find.c | ||
Makefile | ||
mem.S | ||
probes.c | ||
spinlock.c | ||
string.c | ||
test_kprobes.c | ||
test_kprobes.h | ||
test_kprobes_asm.S | ||
test_modules.c | ||
test_modules.h | ||
test_modules_helpers.c | ||
test_unwind.c | ||
tishift.S | ||
uaccess.c | ||
xor.c |