diff options
author | Wojciech Macek <wma@FreeBSD.org> | 2016-04-04 07:06:20 +0000 |
---|---|---|
committer | Wojciech Macek <wma@FreeBSD.org> | 2016-04-04 07:06:20 +0000 |
commit | db27818234e734a9042648471c36a507c6c80bdc (patch) | |
tree | dad55237167913057688cc56eefbc929fbbd34f8 /sys/conf | |
parent | 841ecd471a172f3ff9fd90fde76364c86de39ed4 (diff) | |
download | src-db27818234e734a9042648471c36a507c6c80bdc.tar.gz src-db27818234e734a9042648471c36a507c6c80bdc.zip |
arm64: bzero optimization
This optimization attempts to utylize as wide as possible register store instructions to zero large buffers.
The implementation, if possible, will use 'dc zva' to zero buffer by cache lines.
Speedup: 60x faster memory zeroing
Submitted by: Dominik Ermel <der@semihalf.com>
Obtained from: Semihalf
Sponsored by: Cavium
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D5726
Notes
Notes:
svn path=/head/; revision=297536
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files.arm64 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64 index b1fa20724afe..7bbe458f1f8f 100644 --- a/sys/conf/files.arm64 +++ b/sys/conf/files.arm64 @@ -12,6 +12,7 @@ arm64/arm64/bus_machdep.c standard arm64/arm64/bus_space_asm.S standard arm64/arm64/busdma_bounce.c standard arm64/arm64/busdma_machdep.c standard +arm64/arm64/bzero.S standard arm64/arm64/clock.c standard arm64/arm64/copyinout.S standard arm64/arm64/copystr.c standard |