forked from torvalds/linux
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
riscv: __asm_copy_to-from_user: Improve using word copy, if size is <…
… 9*SZREG Reduce the number of slow byte_copy being used. Currently byte_copy is used for all the cases when the size is smaller than 9*SZREG. When the size is in between 2*SZREG to 9*SZREG, use faster unrolled word_copy. Signed-off-by: Akira Tsukamoto <akira.tsukamoto@gmail.com>
- Loading branch information
1 parent
debe436
commit cf2e8e9c4e9dc65552ca5ac0c85c198785f5d91c
Showing
1 changed file
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters