diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2019-12-04 16:50:05 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-12-04 19:44:11 -0800 |
commit | 70a731c0e3c603e84607b770c15e53da4c3a6ecd (patch) | |
tree | 413170b7e23436df9758c5166cb3fd2b3ac6c611 /security | |
parent | 5f6354eaa517ce5c1e7b7feb224a0324601f796e (diff) | |
download | linux-70a731c0e3c603e84607b770c15e53da4c3a6ecd.tar.bz2 |
fs/proc/internal.h: shuffle "struct pde_opener"
List iteration takes more code than anything else which means embedded
list_head should be the first element of the structure.
Space savings:
add/remove: 0/0 grow/shrink: 0/4 up/down: 0/-18 (-18)
Function old new delta
close_pdeo 228 227 -1
proc_reg_release 86 82 -4
proc_entry_rundown 143 139 -4
proc_reg_open 298 289 -9
Link: http://lkml.kernel.org/r/20191004234753.GB30246@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 'security')
0 files changed, 0 insertions, 0 deletions