summaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2019-03-06 00:50:32 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2019-03-06 06:07:21 +0100
commit5713f35c0575a1137b705e13d10f8ee58f2ec7e8 (patch)
tree9d462a814259b9defab8310b8a4ac0f1a5d54270 /fs/proc/array.c
parentproc: remove unused argument in proc_pid_lookup() (diff)
downloadlinux-5713f35c0575a1137b705e13d10f8ee58f2ec7e8.tar.xz
linux-5713f35c0575a1137b705e13d10f8ee58f2ec7e8.zip
proc: read kernel cpu stat pointer once
Help gcc generate better code: $ ./scripts/bloat-o-meter ../vmlinux-000 ../vmlinux-001 add/remove: 2/2 grow/shrink: 0/1 up/down: 92/-142 (-50) Function old new delta get_iowait_time.isra - 46 +46 get_idle_time.isra - 46 +46 show_stat 1489 1477 -12 get_iowait_time 65 - -65 get_idle_time 65 - -65 Link: http://lkml.kernel.org/r/20190114195907.GA9680@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions