aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/namespaces.c
diff options
context:
space:
mode:
authorAndrei Vagin <[email protected]>2019-11-12 01:26:51 +0000
committerThomas Gleixner <[email protected]>2020-01-14 11:20:48 +0000
commitc966533f8c6c45f93c52599f8460e7695f0b7eaa (patch)
tree3c2e611e0ec306e6e0fe30003b7305e9c483928c /fs/proc/namespaces.c
parentlib/vdso: Add unlikely() hint into vdso_read_begin() (diff)
downloadkernel-c966533f8c6c45f93c52599f8460e7695f0b7eaa.tar.gz
kernel-c966533f8c6c45f93c52599f8460e7695f0b7eaa.zip
lib/vdso: Mark do_hres() and do_coarse() as __always_inline
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: Andrei Vagin <[email protected]> Signed-off-by: Dmitry Safonov <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'fs/proc/namespaces.c')
0 files changed, 0 insertions, 0 deletions