An error occurred while fetching folder content.
lib/vdso: Mark do_hres() and do_coarse() as __always_inline
Andrei Vagin authored
[ Upstream commit c966533f

 ]

Performance numbers for Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz
(more clock_gettime() cycles - the better):

clock            | before     | after      | diff
----------------------------------------------------------
monotonic        |  153222105 |  166775025 | 8.8%
monotonic-coarse |  671557054 |  691513017 | 3.0%
monotonic-raw    |  147116067 |  161057395 | 9.5%
boottime         |  153446224 |  166962668 | 9.1%

The improvement for arm64 for monotonic and boottime is around 3.5%.

clock            | before     | after      | diff
==================================================
monotonic          17326692     17951770     3.6%
monotonic-coarse   43624027     44215292     1.3%
monotonic-raw      17541809     17554932     0.1%
boottime           17334982     17954361     3.5%

[ tglx: Avoid the goto ]
Signed-off-by: default avatarAndrei Vagin <avagin@gmail.com>
Signed-off-by: Dmitry Safonov <di...
6fbc49b7
Name Last commit Last update
..
842 lib: 842: no need to check return value of debugfs_create functions
crypto lib/crypto: blake2s: move hmac construction into wireguard
dim dim: initialize all struct fields
fonts Fonts: Replace discarded const qualifier
livepatch livepatch: Proper error handling in the shadow variables selftest
lz4 lz4: fix LZ4_decompress_safe_partial read out of bound
lzo lib/lzo: fix ambiguous encoding bug in lzo-rle
math treewide: Add SPDX license identifier - Makefile/Kconfig
mpi lib/mpi: use kcalloc in mpi_resize
raid6 lib/raid6/test/Makefile: Use $(pound) instead of \# for Make 4.3
reed_solomon rslib: Make some functions static
vdso lib/vdso: Mark do_hres() and do_coarse() as __always_inline
xz lib/xz: Validate the value before assigning it to an enum variable
zlib_deflate treewide: Add SPDX license identifier - Makefile/Kconfig
zlib_inflate lib/zlib: remove outdated and incorrect pre-increment optimization
zstd lib/zstd/mem.h: replace __inline by inline
.gitignore lib: add crc64 calculation routines
Kconfig ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSE
Kconfig.debug random: remove ratelimiting for in-kernel unseeded randomness
Kconfig.kasan kasan: add memory corruption identification for software tag-based mode
Kconfig.kgdb treewide: Add SPDX license identifier - Makefile/Kconfig
Kconfig.ubsan treewide: Add SPDX license identifier - Makefile/Kconfig
Makefile avoid __memcat_p link failure
argv_split.c treewide: kmalloc() -> kmalloc_array()
ashldi3.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 120
ashrdi3.c
asn1_decoder.c
assoc_array.c
atomic64.c
atomic64_test.c
audit.c
bcd.c
bch.c
bitmap.c
bitrev.c
bsearch.c
btree.c
bucket_locks.c
bug.c
build_OID_registry
bust_spinlocks.c
chacha.c
check_signature.c
checksum.c
clz_ctz.c
clz_tab.c
cmdline.c
cmpdi2.c
compat_audit.c
cpu_rmap.c
cpumask.c
crc-ccitt.c
crc-itu-t.c
crc-t10dif.c
crc16.c
crc32.c
crc32defs.h
crc32test.c
crc4.c
crc64.c
crc7.c
crc8.c
ctype.c
debug_info.c
debug_locks.c
debugobjects.c
dec_and_lock.c
decompress.c
decompress_bunzip2.c
decompress_inflate.c
decompress_unlz4.c
decompress_unlzma.c
decompress_unlzo.c
decompress_unxz.c
devres.c
digsig.c
dump_stack.c
dynamic_debug.c
dynamic_queue_limits.c
earlycpio.c
error-inject.c
errseq.c
extable.c
fault-inject.c
fdt.c
fdt_empty_tree.c
fdt_ro.c
fdt_rw.c
fdt_strerror.c
fdt_sw.c
fdt_wip.c
find_bit.c
find_bit_benchmark.c
flex_proportions.c
gen_crc32table.c
gen_crc64table.c
genalloc.c
generic-radix-tree.c
glob.c
globtest.c